Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error in Read Events()?
Message
From
21/02/2006 08:24:35
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Error in Read Events()?
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
MySQL
Miscellaneous
Thread ID:
01097701
Message ID:
01097701
Views:
63
Hi,

We call 'read events' towards the very beginning of our application, which I suppose is the same way many others do it.

We have a "wrapper" method that we call ReadEvents() which does a few other things(setting properties only) before calling 'read events' to get into the event loop. Our method ReadEvents() should only be called one time, and thus the 'read events' call in that method should only get called once..and everything I see says that that is the case.

My problem is that at somepoint, I am getting an Error 5: Record out of Range and the method it is coming from is our ReadEvents() method...I've done numerous checks, however, and our method only gets called one time, at the very start.

My question is, how could we be getting an error from our ReadEvents() method when that method is only called one time, and the beginning of the application, and then it just sits on the 'read events' call when there are no events to process? What's even more confusing is the fact that Error 5 seems to be a database/table/cursor error, definitely not something that should occur when we've "emptied" the call stack and are just reading events..?

Any clues at all? Thanks.

- Jon
Next
Reply
Map
View

Click here to load this message in the networking platform