Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CR 8.5 RDC VFP7 'Server has not yet been opened' error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
00665637
Message ID:
00665735
Vues:
109
I'm using a VFP7 free table (.dbf) and ODBC to access this file. I'm able to programatically open the Crystal Report and to change object properties and use some methods (e.g. go_Crystal.crreport.DiscardSavedData()) but when I try to use go_crystal.crreport.ReadRecords() I get OLE IDispatch exception code 0 from Crystal Reports ActiveX Designer: Server has not yet been opened. Whenever I run a method that actually draws data to my report (e.g. print, export, read records) the report chokes.

The OpenReport Method seems to work just fine as does the SetDataSource Method. It seems that this application cannot find the .dbf file even though it is in the same folder as the .EXE created in VFP7.

I know that I'm missing something very obvious here but I can't figure out what it is...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform