Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal Reports and VFP
Message
De
30/12/1998 15:27:24
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Crystal Reports and VFP
Divers
Thread ID:
00171679
Message ID:
00171679
Vues:
69
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform