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
--sb--