Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alias() of Error
Message
 
 
To
20/03/2000 06:31:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00347601
Message ID:
00347874
Views:
26
The only other solution I can think of is the LINENO() parameter that gets passed to the error handler. However, that only works if you have compile the APP with the DEBUG option checked in the Project Manager Options.

I think the best solution would be some defensive coding.
lnGoRec = some_value_from_somewhere
cMyVarTable = 'Tabla1'
if reccount(cMyVarTable) >= lnGoRec
   GO lnGoRec IN (cMyVarTable)
else
   do something else here
endif
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform