Hi folks
I have a report created with CR 4.6 (that comes with VB6) which connects to Access 2000 via ODBC. It runs fine within CR and via VB using Crystal ActiveX control. However, I want to be able to dynamically change the Access database that the report connects to at runtime. This is because the VB application can connect to different DBs depending on the value of an ini parameter, and the report needs to connect to the same db. Is this possible? I have tried changing the Connect property but the report still remains connected to the database defined at design time.
Thanks and regards
Billy Crosbie
I have a report created with CR 4.6 (that comes with VB6) which connects to Access 2000 via ODBC. It runs fine within CR and via VB using Crystal ActiveX control. However, I want to be able to dynamically change the Access database that the report connects to at runtime. This is because the VB application can connect to different DBs depending on the value of an ini parameter, and the report needs to connect to the same db. Is this possible? I have tried changing the Connect property but the report still remains connected to the database defined at design time.
Thanks and regards
Billy Crosbie