Crystal Report & .mdb files under VB6 
Author Message
 Crystal Report & .mdb files under VB6

Do you have a solution to use Crystal Report (.rpt files) under VB6 when de
database you use in .rpt file is not always the same.

In my VB6 program, the user can choose the .mdb file, so when user
ask for a report, i have not the same database.

Is it possible to send a parameter to CrystalReport objet ?

Thanks for information

Rudy




Thu, 21 Mar 2002 03:00:00 GMT  
 Crystal Report & .mdb files under VB6
As long as the SELECT clause in your SQL is the same, and the datatypes for
the selected fields are the same, you should be able to go to any database
at run time.

If using DAO, open the DATABASE object (pointing the whatever database),
open the recordset of interest and then use the SetDataSource method of the
REPORT object to pass the recordset to the report.

Joe

Quote:

>Do you have a solution to use crystal report (.rpt files) under VB6 when de
>database you use in .rpt file is not always the same.

>In my VB6 program, the user can choose the .mdb file, so when user
>ask for a report, i have not the same database.

>Is it possible to send a parameter to CrystalReport objet ?

>Thanks for information

>Rudy





Thu, 21 Mar 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. CR8.5, VB6 & Access 2000 MDB File

2. Crystal Reports 6 and Setting MDB File Name and Location

3. Crystal Reports does'nt recogonize my MDB file

4. Crystal Reports 6 and Setting MDB File Name and Location

5. Crystal Reports 6 and Setting MDB File Name and Location

6. Need Crystal Reports Sample File - CRAZE.MDB -- Help

7. Need Crystal Reports Sample File - CRAZE.MDB -- Help

8. Crystal Reports 6 and Setting MDB File Name and Location

9. .mdb file path in crystal report

10. Crystal Reports 8.5 (VB6) to Crystal Reports NET (VB.NET) conversion

11. VB6 & Crystal Report 7 Question

12. Help: VB6 Data Report - DCA & DCX files

 

 
Powered by phpBB® Forum Software