Information générale
Catégorie:
Produits tierce partie
Titre:
Crystal Reports and VFP
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement