anyone knows how to set the location of the database at run time in VB 6.
thanks
Printable View
anyone knows how to set the location of the database at run time in VB 6.
thanks
I'm sorry if I don't answer your question now but you don't have to set the location in runtime. You can go on the Databas menu in Crystal Reports and then choose Set Location.
In the file textbox you can write the following:
tablename!..\databasname.mdb
I forgot to tell you that the location above is for a databas in app.path, but if you have more directories you can write:
Tablename!..\dirname\databasename.mdb