SBBmaster09
Registered User.
- Local time
- Today, 14:56
- Joined
- Apr 26, 2013
- Messages
- 92
I have a query for Master Data, then I have a form where I can select in dropdowns what will be the filters in the output file of the Master Data. I need a code in the query table where, if the 1st dropdown is empty and 2nd dropdown has value, the output file will only display the Master Data with the selected data from the 2nd. :banghead:
I am able to do this with start and end dates using the code below:
Is there any codes I can input where if the dropdown is empty it will output all the data without the filters. And if there is 1 field with value, only that value will be used as filters.
Thank you.
I am able to do this with start and end dates using the code below:
Code:
>=[Forms]![frm_ExtractMainTable]![DateFrom].[value] And <=[Forms]![frm_ExtractMainTable]![DateTo].[value]
Is there any codes I can input where if the dropdown is empty it will output all the data without the filters. And if there is 1 field with value, only that value will be used as filters.
Thank you.