Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 1152
Message
From
01/10/2015 12:07:44
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01625259
Message ID:
01625332
Views:
40
>>>Can you find which form is causing the problem?
>>Naomi,
>>no I cant find which form, which combobox is causing this.
>>There are several forms and multilple comboxes involved, that's why I was looking for a possibility to have this error caught by my errorlogging() - it seems the default error() is not activated on error(1152)
>>Rgds,
>>Koen
>
>Can you reproduce this problem on demand yourself? If yes, then you know which form is currently opened.

Naomi,

Thanks I found the reason: The original programmer had a habit to code:
if not used('mytable')
use mytable in 0
endif
select myTable
than do some lookup or other things and at the end:
use
to continue with other coding.
Grr
since he opens tables always with if not used(' etc. I could simply remove the closing use

Thanks for support
Rgds,
Koen
Previous
Reply
Map
View

Click here to load this message in the networking platform