Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 1152
Message
From
01/10/2015 05:09:25
 
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:
01625293
Views:
45
Hi Seergey,

I was aware of the different reasons for this error to occur and was wondereing if there is a way to have this error been caught by an errorcatcher. It seems that by default this error is not shown with the 'on error' statement.
In case it is caught by the errorhandler I would be able to notice which Rowsource is causing this in order to rectify.

Regards,

Koen

>There is more than one reason for the error https://www.berezniker.com/content/pages/visual-foxpro/cannot-access-selected-table-error-1152
>
>>Error 1152 = "Cannot access selected table"etc usualy is caused when the select statement of one of your combo or list boxes is incorrect.
>>It shows that this error is not caught with a usual errorcatcher like e.g.
>>ON ERROR DO ERRORLOGGING WITH ;
>> ERROR( ), MESSAGE( ), MESSAGE(1), PROGRAM( ), LINENO( ), SYS(0), ALIAS()
>>
>>I am now working on a legacy application where I face this error and I cannot find which object is causing error(1152) any way how to find out instead of checking all the comboboxes (> 100) in the application?
>>
>>Regards,
>>
>>Koen
Previous
Reply
Map
View

Click here to load this message in the networking platform