Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help: 'Invalid class string' error when calling XMLToCur
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00610528
Message ID:
00610554
Vues:
13
Cheang,

Is it a typo that the variable is named lcXMLData in the first call and lcTodayData in the XMLTOCURSOR() call?

>Hi all,
> When I run the following lines of code in another workstation, I received this error: 'OLE error code 0x800401f3: Invalid class string'.
>
> Please advice. Thank you.
>
>
>
>loSummary = CREATEOBJECT("SummaryData")
>lcXMLData = loSummary.Summary()
>*&
>= XMLTOCURSOR(lcTodayData, "cTodaySummary")  && Error occurred here.
>
>DEFINE CLASS SummaryData AS Session
>
>  PROCEDURE Summary
>       LOCAL lcXML
>            USE "TodaySummary" ALIAS "cToday"
>            = CURSORTOXML("cToday", "lcXML", 1, 0, 0, "1")
>            USE IN "cToday"
>       RETURN lcXML
>  ENDPROC
>
>ENDDEFINE
>
>
>
>Wan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform