Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 7.0 and VFP 8.0 and CrysDev and irritation
Message
 
À
09/05/2003 15:04:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
00786887
Message ID:
00786918
Vues:
30
Craig,

Will do on the email and thanks for the clarification on the two craxdrts.

I use the following:


oCryRpt = CREATEOBJECT("CrystalRuntime.Application")
ocryrpt.LogOnServerEx("p2sodbc.dll","HEMSENT","HEMSENT") &&SQL ODBC connection
oCryRpt.SetMatchLogOnInfo(1)
*Is it correct that this last line opens up a shared connection to the HEMSENT server/HEMSENT database to any report that calls this application object? Meaning I do not have to set the login for report and subreport databases?

orpt = oCryRpt.OpenReport("C:\projects\crystal reports\reports\wo.rpt")
odb = orpt.database()
lotables = odb.Tables()

*These last few commands should open up, through the application logon to the server, the database and tables associated with the report. Unfortunately, I get an empty object back for lodb, odb and lotables.

Again, I appreciate the assistance.

Regards,

Jim
>>Craig,
>>
>>You are right and much appreciated advice! VFP 8.0 did this automatically when I entered the type libraries. Man oh Man hours have gone by.... A timely book thanks for the effort.
>
>Thanks. I hope the book helps you.
>
>>
>>By the way, I believe the CRAXDRT listing is the 8.x stuff the CRAXDDRT is the 9.x stuff. This is so you can run both versions.
>
>Nope, that's not correct. CRAXDRT is the standard RDC. If you use any of the runtime design features, you also need CRAXDDRT.
>
>>
>>I have a few noted spelling and typos do I list those at Hentzenwerke?
>
>Email them to me privately.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform