Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning ADO field contents in a method
Message
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00118045
Message ID:
00118603
Views:
38
>Err object is global and hence is not maintained on the stack. The procedure's value is returned on the stack. Thus we cannot conclude any thing from that.
>
>If u step in to the procedure does the procedure work as expected and only the function does not return value? What if the data is really empty?
>
>SUN.

Don't you just hate it when you find out it's something stupid! I didn't put Exit Function before my DataError label so of course the error handling code was being executed with no error so no string was returned!

Thank the gods it's Friday!
"It is an important and popular fact that things are not always what they seem. For instance, on the planet Earth, man had always assumed that he was more intelligent than dolphins because he had achieved so much -- the wheel, New York, wars and so on -- whilst all the dolphins had ever done was muck about in the water having a good time. But conversely, the dolphins had always believed that they were far more intelligent than man -- for precisely the same reasons." - Douglas Adams
Previous
Reply
Map
View

Click here to load this message in the networking platform