We are using Crystal Reports 6 and we want to set the databaselocation at runtime, since we don't know the (network-)path of the mdb-file. Or maybe we can refer to a Datacontrol.. Does anyone know how to do this?
Printable View
We are using Crystal Reports 6 and we want to set the databaselocation at runtime, since we don't know the (network-)path of the mdb-file. Or maybe we can refer to a Datacontrol.. Does anyone know how to do this?
u can change the db location at run time...
just set the databtase using the following line of code
cryrep.databases(0) = "\\unc\dblocation\access.mdb"
This used to work fine in CryRep 4.2. It should continue to work.
Hope this helps ...:)