PDA

Click to See Complete Forum and Search --> : Crystal Reports


Dec 29th, 1999, 07:25 PM
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 ..

Aaron Young
Dec 30th, 1999, 11:21 AM
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
aarony@redwingsoftware.com
ajyoung@pressenter.com



[This message has been edited by Aaron Young (edited 12-30-1999).]