Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML empty manipulation
Message
From
20/09/2001 17:19:41
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00558610
Message ID:
00559013
Views:
24
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform