Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XmlDOM question
Message
 
To
28/05/2002 11:52:49
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
Miscellaneous
Thread ID:
00661986
Message ID:
00662074
Views:
21
I'll give this a try. That's exactly what i was thinking, about the misleading error. I'll tell you how things go..
Thanks
Jaime

>
>selectSingleNode returns a .NULL. in case the query produces no results. I believe the error message, issued in the lcCountry assignment instruction, is misleading: it should say something like 'loElm is a NULL object' (since its type is O). Your checking code should be
>
  if !isnull(loElm)
>    lcCountry = loElm.text
>  else
>    ComReturnError('myclass', 'cannot find country node')
>  endif
>
Why do programs stop working correctly as soon as you leave the Fox?
Previous
Reply
Map
View

Click here to load this message in the networking platform