Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Try-Catch within SCAN goes to EOF()

$
0
0
Try-Catch within SCAN goes to EOF()
FoxPro Programming
Try-Catch within SCAN goes to EOF()
03/08/2012
03:25:14 PM
3G80X13IW Show this entire thread in new window
Gratar Image based on email address
From:
To:
All 
Attachments:
None
Wow... I am diagnosing a code problem and I found that when I execute a TRY...CATCH within a SCAN loop, either the CATCH TO causes the SCAN record pointer to go to EOF or the error that was being trapped (1976 - table has lost parent database) is doing it. The SCAN record counter was, of course, in a different table than the one generating the error.

Quite a surprise. Does anyone have any insight into this behavior?

M


Viewing all articles
Browse latest Browse all 10393

Trending Articles