Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disappearing alias?
Message
From
18/01/2005 07:15:44
 
 
To
17/01/2005 23:55:00
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
00977939
Message ID:
00978018
Views:
30
I've added part (a) "to close any cursor called "MyComponents" first before the SELECT" to my code and we'll see what happens.

Part of the fun of this one is that it is not duplicatable -- that is, the code my run for months (a dozen times a day for the main loop, these lines of code a few thousand times within that loop) with no errors, and then it may start failing. When it does fail, running it again on the same data may not fail at all, or may fail on different data.


>>Oh, I see it now. It returns a logical to llIskit. I agree I would write it the other way around and I would have enclosed the right-hand side in brackets. Each to their own style :)
>>
>>Anyway, I would add code to (a) to close any cursor called "MyComponents" first before the SELECT (b) check for a cursor afer the SELECT and before the RECCOUNT() test as additional tests for trapping the problem.
>
>Well, both parts (a) and (b) should NORMALLY not be necessary; but they might help for debugging purposes.
Jim Nelson
Newbury Park, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform