How To Use Keyword DataDirectory For Database In Same Folder As Executable

  • Thread starter Thread starter clusardi2k
  • Start date Start date
C

clusardi2k

Hello,

With a fairly complete and detailed example, how do I use the
DataDirectory keyword? What I ultimately want to do is place my
database in the same folder as the executable and have my application
find it there.

Thank you,
Christopher Lusardi
 
Chris,

The official name from the Access database part is Jet engine so you can use
that application.startuppath

Cor
 
Hello,

I have put the keyword DataDirectory in my connection string and
everything is working except for one thing. When I load the Crystal
Report, it prompts me for user id and password. How can I stop this?

Thanks,
Christopher Lusardi
 
Back
Top