Click to See Complete Forum and Search --> : database control properties


Prog Rammer
September 1st, 2000, 09:08 AM
Hi

I have a database control. How to use app.path function in the database name propertie.
For example, as we using cn.Open App.Path & "\filename.mdb" in the ADO I
want to use the same way in the database control properties:

|DatabaseNname | App.Path & "\filename.mdb" |

How I can do that thanks a lot for your help

Dan

Johnny101
September 1st, 2000, 10:39 AM
the exact same way you did for pure ADO, you will do for the ADODC.

ADODC1.ConnectionString = "Data Source=" & App.Path & "\mydatabase.mdb;..."




hope this helps,

John

John Pirkey
MCSD
http://www.ShallowWaterSystems.com
http://www.stlvbug.org