PDA

Click to See Complete Forum and Search --> : Crystal Report 6 --- set location


matcathy
Jan 26th, 2000, 02:16 PM
anyone knows how to set the location of the database at run time in VB 6.
thanks

Klas Pettersson
Jan 26th, 2000, 03:12 PM
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

Klas Pettersson
Jan 26th, 2000, 03:15 PM
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