>Hello i have the next problem:
>
>In a Form i've place a code in the print wizbtns class button to open a new form where i place some data to display in a report some information, but in the moment appears the window it shows the next message error:
>
Cannot access the selected table>
>the code for the button is:
<snip>
>
>Whatis wrong? Thanks for your help.
Edgar,
This message means that RecordSource cursor for Listbox/Combobox has been closed or recreated in another work area. It seems that a Listbox/Combobox remebers connection with it's recorsource by workarea number not by alias. Try to set Comboboxbox Rowsource to empty string before query is run and restore after.
--sb--