S
Spidey3721
I am experimenting with expressions - trying to get the rowsource of a form
to change based on which tab is selected on a SEPARATE form's tabcontrol.
For each page in the tabcontrol, I have set the onclick event to a variation
of the following expression
[Forms]![name of form]![Combobox].[RowSource]=SELECT .....FROM .....WHERE
The only variation between the different expressions (for each page) is in
the WHERE statement, which simply changes the criteria of the query for the
rowsource...
Question: Is the structure of this expression acceptable - I am getting an
error message when I click a page, saying that Access cannot find the Macro
"[Forms]![name of form]![Combobox].[RowSource]"
Is there a way to do what I am trying to do with an expression ?
Thanks for the help...
to change based on which tab is selected on a SEPARATE form's tabcontrol.
For each page in the tabcontrol, I have set the onclick event to a variation
of the following expression
[Forms]![name of form]![Combobox].[RowSource]=SELECT .....FROM .....WHERE
The only variation between the different expressions (for each page) is in
the WHERE statement, which simply changes the criteria of the query for the
rowsource...
Question: Is the structure of this expression acceptable - I am getting an
error message when I click a page, saying that Access cannot find the Macro
"[Forms]![name of form]![Combobox].[RowSource]"
Is there a way to do what I am trying to do with an expression ?
Thanks for the help...