Information générale
Catégorie:
Crystal Reports
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
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