Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Assuming no record returned
Message
From
12/07/2002 09:23:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
Assuming no record returned
Miscellaneous
Thread ID:
00677969
Message ID:
00677969
Views:
67
Assuming a specific Web Service method returns no data such as in:
lcXML=loEvent.ListEventsForTypeXML(DATE(),DATE()+90,7)
That would mean, in my case, I am getting the following for the lcXML:
<NewDataSet />
So, I would want to detect when this is the case. Because there is no need to proceed with XMLToCursor() if this is the case. So, in such situation, is this what I should expect from the XML string to be returned or should I be better to proceed with XMLToCursor() but then verify for the creation of the cursor? Presently, if I try to create the cursor, I would get the command to be executed but no cursor is created. Is that a better approach?
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
Next
Reply
Map
View

Click here to load this message in the networking platform