See
https://www.berezniker.com/content/pages/visual-foxpro/cannot-access-selected-table-error-1152>I've added a new listbox to one of my own, personal apps, and now I'm getting a "cannot access the selected table" message whenever I try to run the app. I have a .prg referenced in its ROWSOURCE and a value of 4 in its ROWSOURCETYPE. The prg contains a SQL statement. This error message is such a cryptic one, and I just can't seem to pinpoint what the heck it is trying to tell me.
>
>I really could use the help.
>Rich Murillo
--sb--