Thanks for your suggestion. I do not understand the createObject("java", "...) suggestion. If you give me the complete syntax, I could try it I'm trying to create a db connection to a CF site I do not have access to the Datasource, but I can upload cfm and mdb files. Wondering if there might be a way to connect to the mdb tables. Could you give me a few samples to try?
Main Topics
Browse All Topics





by: _agx_Posted on 2009-04-16 at 14:13:44ID: 24162675
Yes, but only if you have to createObject("java", "...), do you? (Most shared hosts disable this feature).
Name"> ternalData base.mdb'
e.com/Web_ Developmen t/ Web_Lang uages-Stan dards/Cold _Fusion_Ma rkup_Langu age/ Q_2426 7029.html
BUT ... Access should allow you access a table in an "external database". Meaning you use an existing datasource to access another database. I would suggest trying that approach first. It is simpler and less error prone that the alternatives. The syntax is something like this:
<cfquery name="getData" datasource="yourDatasource
SELECT *
FROM SomeTableName IN 'c:\someOtherFolder\yourEx
</cfquery>
Link to a similar example (ie SELECT INTO .. rather than just a SELECT)
http://www.experts-exchang