Hi,
I'm trying to use SQL coding in the WHERE criteria to get a query to either
A: evaluate a series of formulas from a table based on information from the date entered in a datebox
OR
B: evaluate a series of formulas from a table based on the year to date by default if the datebox is left empty
I just lost the SQL code for what I was doing, which wasn't working anyway. Does anyone know how to do this in VBA or in SQL? I have all the formulas and other criteria working; I just don't know how to insert this date function.
I'm trying to use SQL coding in the WHERE criteria to get a query to either
A: evaluate a series of formulas from a table based on information from the date entered in a datebox
OR
B: evaluate a series of formulas from a table based on the year to date by default if the datebox is left empty
I just lost the SQL code for what I was doing, which wasn't working anyway. Does anyone know how to do this in VBA or in SQL? I have all the formulas and other criteria working; I just don't know how to insert this date function.