Hi there,
I am trying to do a search on Crosstab query in main form.
In my database, i have main form. in the main form has comb box called cboYear to add a searched criteria. below the main form i also have subform bounds to crosstab query called qrAppliances.
Code:
[Year]=[Forms]![Main Form]![cboYear] Or [Forms]![Main Form]![cboYear] Is Null
Where
True
Problem:
The code works fine in simple select query but when i switch to crosstab. It does not seem to work.
How can i workaround this please?
PS. the attachment is the error message.
Hope some one can help here.
Cheers,
Na
I am trying to do a search on Crosstab query in main form.
In my database, i have main form. in the main form has comb box called cboYear to add a searched criteria. below the main form i also have subform bounds to crosstab query called qrAppliances.
Code:
[Year]=[Forms]![Main Form]![cboYear] Or [Forms]![Main Form]![cboYear] Is Null
Where
True
Problem:
The code works fine in simple select query but when i switch to crosstab. It does not seem to work.
How can i workaround this please?
PS. the attachment is the error message.
Hope some one can help here.
Cheers,
Na