I have a form with three combo boxes.
Each one's contents is based on a selection in the previous. After the second I am trying to apply a filter ie applies a filter via a SELECT sql.
Now when I get to the third combo I get an error 'Cannot access the selected table'.
I find I need the underlying tables/arrays/cursors to be in scope when I open the form so I USE and recreate the table/array/cursor based on the previous selection.
Anyone have any clues as to what is happening.
It makes no difference whether I USE and SELECT after the SQL or not - or use a table/array/cursor - when I select the combo I get the error.
Anyone point me in the right direction? - this is a critical form in my app - to make selection of a person based on a criteria instead of from a long list of names.
Thanks
Eric
Each one's contents is based on a selection in the previous. After the second I am trying to apply a filter ie applies a filter via a SELECT sql.
Now when I get to the third combo I get an error 'Cannot access the selected table'.
I find I need the underlying tables/arrays/cursors to be in scope when I open the form so I USE and recreate the table/array/cursor based on the previous selection.
Anyone have any clues as to what is happening.
It makes no difference whether I USE and SELECT after the SQL or not - or use a table/array/cursor - when I select the combo I get the error.
Anyone point me in the right direction? - this is a critical form in my app - to make selection of a person based on a criteria instead of from a long list of names.
Thanks
Eric