Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal Reports 5 : ActiveX error logon server
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Crystal Reports 5 : ActiveX error logon server
Divers
Thread ID:
00053823
Message ID:
00053823
Vues:
170
I'm developing a Visual FoxPro application with version 5.0) using Crystal Reports 5.0.6.97. I've tried to logon the ODBC server by CRW ActiveX's properties Connect or the LogonServer method but each time I've a 20536 Error (error Logon server)

Driver are correctly installed, in fact by CRW I can see the reports' preview,

I've used this code to connect:

oApp.xoCrystalReport.Connect = "DSN = Visual FoxPro Database; UID =; PWD =;" oApp.xoCrystalReport.DataFiles(0) = lcPathMyDatabase

OR

oApp.xoCrystalReport.Connect = "DSN = Visual FoxPro Database; UID =; PWD =; DSQ = " + lcPathMyDatabase OR

IF !oApp.xoCrystalReport.LogonServer("VFPODBC.DLL", "Visual FoxPro Database", lcPathMyDatabase, "", "")
Messagebox("error in logon")
ENDIF

OR

IF !oApp.xoCrystalReport.LogonServer("PDSODBC.DLL", "Visual FoxPro Database", lcPathMyDatabase, "", "")
Messagebox("error in logon")
ENDIF

How can I logon the server by code ?
Renato Bertuol (EMail:renato.bertuol@elmec.it
Homepage:www.geocities.com/SiliconValley/Horizon/3216)
Elmec Informatica (URL www.elmec.it)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform