How to open a report based on a datafile (.mdb) with the ocx 
Author Message
 How to open a report based on a datafile (.mdb) with the ocx

For a report, based on a datafile (access db) and saved with discarted
data, what code do I need to open it with the OCX.

why does this doesn't work ?

Crystalocx.ReportFileName = "f:\pastri\BesteldeHoevPerWeek.rpt"
Crystalocx.DataFiles(0) = "f:\database\Verkoopproducten.mdb"
Crystalocx.PrintReport




Mon, 25 Dec 2000 03:00:00 GMT  
 How to open a report based on a datafile (.mdb) with the ocx
dak het nie zou weten
Quote:
>For a report, based on a datafile (access db) and saved with discarted
>data, what code do I need to open it with the OCX.

>why does this doesn't work ?

>Crystalocx.ReportFileName = "f:\pastri\BesteldeHoevPerWeek.rpt"
>Crystalocx.DataFiles(0) = "f:\database\Verkoopproducten.mdb"
>Crystalocx.PrintReport





Mon, 25 Dec 2000 03:00:00 GMT  
 How to open a report based on a datafile (.mdb) with the ocx
You may want to try this out instead
Crystalocx.ReportFileName = "f:\pastri\BesteldeHoevPerWeek.rpt"
Crystalocx.DataFiles(0) = "f:\database\Verkoopproducten.mdb"
Crystalocx.Destination = 0   'this line directs the output to the window
Crystalocx.Action = 1

I hope this helped

- Isaac


Quote:
>For a report, based on a datafile (access db) and saved with discarted
>data, what code do I need to open it with the OCX.

>why does this doesn't work ?

>Crystalocx.ReportFileName = "f:\pastri\BesteldeHoevPerWeek.rpt"
>Crystalocx.DataFiles(0) = "f:\database\Verkoopproducten.mdb"
>Crystalocx.PrintReport





Mon, 25 Dec 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Unable to open datafile when database is open

2. Opening a Report Based on a Variable Name

3. Using and opening Access MDB report in VB6

4. Crystal Reports - Open MDB with Password

5. Driver for VB to open Clarion Datafile

6. Compact .mdb -> open .mdb

7. How to open a read-only MDB or shared MDB

8. printing without crystal report or data report for non data base reports

9. Crystal Reports Datafiles

10. Crystal Reports setting Subreport datafiles at runtime

11. problem using Report.DataFiles - HELP !!

12. Crystal Reports/VB 4.0 Datafile Error

 

 
Powered by phpBB® Forum Software