B
Brian
Hi, This is my first attempt at a "clever" procedure.
I have a form [Start menu] with an unbound combo box which lists the 12
months of the year. I want a report to open displaying invoices for the
selected month. The report is linked to a query in which under the date field
I have this expression (October for example) -
IIf([forms]![start menu]![combo64]="OCT",([Invoice].[Date]) Between
#01/10/2008# And #31/10/2008#). The report displays no data. I have tried
the US date format but still no joy. Even when (with your help) I get the
expression corrected do I really need to type 12 version of the query or is
their a simpler way.
At present I haven't progressed to VBA level - just using commands,
parameters an d built in functions.
I have a form [Start menu] with an unbound combo box which lists the 12
months of the year. I want a report to open displaying invoices for the
selected month. The report is linked to a query in which under the date field
I have this expression (October for example) -
IIf([forms]![start menu]![combo64]="OCT",([Invoice].[Date]) Between
#01/10/2008# And #31/10/2008#). The report displays no data. I have tried
the US date format but still no joy. Even when (with your help) I get the
expression corrected do I really need to type 12 version of the query or is
their a simpler way.
At present I haven't progressed to VBA level - just using commands,
parameters an d built in functions.