Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Reports and VFP
Message
From
30/12/1998 15:27:24
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Crystal Reports and VFP
Miscellaneous
Thread ID:
00171679
Message ID:
00171679
Views:
68
Hi all!

I am currently working with crystal reports 6.0 and VFP 6.0.

I am dragging the Crystal ActiveX control onto the form I am using.

I am, also, using the following code when I want to print the form.

thisform.olecontrol1.reportfilename = 'c:\temp\reportname.rpt'
thisform.olecontrol1.connect = 'DSN=mrpt;USER=mrpt;PWD=mrpt'
thisform.olecontrol1.action = 1

I am copying the tables that I need for the report into c:\temp with the following code.

Copy to c:\temp\reportname.dbf type fox2x

It gives me an error telling me that the file is not in the expected format. I have tried adding the indexes on the tables that are on the originals, but this does not work. Can anyone give me some clue as to what I am doing wrong or not doing at all?

By the way, the form I am using is a class and filters down to other forms. I do not know if this will impact what I am supposed to do or not.

Thank you very much in advance. This will be a great thing once I get it working.

Regards,
Susan
Next
Reply
Map
View

Click here to load this message in the networking platform