I was trying to keep it generic because it would apply to many queries
in my database. I am trying to create it in design view because I am
not very good with SQL. I can try SQL if that is easier, though.
Below is an example of one of my queries. I have 4 of these that
filter the information for 4 different fields. Trying to get it all
into one.
Thanks again.
SELECT ExpensesMain.[Date of Expense], ExpensesMain.[Expense Type],
ExpensesMain.Amount, ExpensesMain.Mileage, ExpensesMain.Vendor,
ExpensesMain.[Charge Code], ExpensesMain.Reason,
ExpensesMain.Comments, ExpensesMain.[Report Date],
ExpensesMain.Receipt, ExpensesMain.[Submitted to System], ExpensesMain.
[Charge Card]
FROM ExpensesMain
WHERE (((ExpensesMain.[Report Date])=[Forms]![ExpensesPopUp]!
[RptDate]))
ORDER BY ExpensesMain.[Date of Expense] DESC , ExpensesMain.[Expense
Type];