Hi
I am using a forms to enter query parameters for a report selection.
The criteria I have in my query is:
Between ([forms]![financialstatementcriteria]![beginningyear]) And ([forms]![financialstatementcriteria]![endingyear]) Or Is Null
What I was hoping it would do is limit the selection to those years falling between the selection, but if no beginning year or ending year is selected, to bring up all records in the report.
When the combo boxes are completed, I am able to bring up the correct records, however, I currently am getting no records if the combo boxes are left null.
Can anyone help me here?
Thanks
I am using a forms to enter query parameters for a report selection.
The criteria I have in my query is:
Between ([forms]![financialstatementcriteria]![beginningyear]) And ([forms]![financialstatementcriteria]![endingyear]) Or Is Null
What I was hoping it would do is limit the selection to those years falling between the selection, but if no beginning year or ending year is selected, to bring up all records in the report.
When the combo boxes are completed, I am able to bring up the correct records, however, I currently am getting no records if the combo boxes are left null.
Can anyone help me here?
Thanks