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