Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML empty manipulation
Message
De
20/09/2001 17:19:41
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00558610
Message ID:
00559013
Vues:
23
>>The best I could do right now is to add this condition:
>>
>>
>>IF AT('<VFPData>',loXML.XML)=0
>>   MESSAGEBOX('No record is present.')
>>   RETURN
>>ENDIF
>>
>>
>>But, it would be nice to set the XML cursor from the server in a way that it would include the structure so even an empty cursor would be able to be reconstructed as the client side. So, we would be able to avoid this condition. The same code as before would then work.
>
>It does if you ask for a schema.

Yes, I discovered that after. But, as mentioned, there is still a problem as it creates an empty record when the cursor is empty. So, for now, I'll just use that condition to see if I have a cursor or not.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform