Can U dynamically assign a database name in a single report file ? I have 2 databases of the same structure.Depending upon criteria I want to point to the table in different databses ..
Printable View
Can U dynamically assign a database name in a single report file ? I have 2 databases of the same structure.Depending upon criteria I want to point to the table in different databses ..
You can assign a new Database using the DataFiles Property of the Control, ie.
CrystalReport1.DataFiles(0) = "C:\MyDir\MyOtherDB.mdb"
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
[This message has been edited by Aaron Young (edited 12-30-1999).]