background:
i have a form driving a report query with 2 unbound text boxes to enter a From and To date range. on my form i also have abt 4 other unbound fields all driving the report. Not all the fields are required to be entered.
i am using the following as the criteria for my date in the Query:
Between [Forms]![Mail_Log_Rpt]![Date_From] And [Forms]![Mail_Log_Rpt]![Date_To]
all nice and fine...however i need a way such that If they leave the Date_From and Date_To blank on the form, it pulls back all dates.
i have tried several different things and can get either one or the other to work but not when i try to come up with a combined formula... any ideas????
Kyosa
"The key to flexibility is indecision!"
i have a form driving a report query with 2 unbound text boxes to enter a From and To date range. on my form i also have abt 4 other unbound fields all driving the report. Not all the fields are required to be entered.
i am using the following as the criteria for my date in the Query:
Between [Forms]![Mail_Log_Rpt]![Date_From] And [Forms]![Mail_Log_Rpt]![Date_To]
all nice and fine...however i need a way such that If they leave the Date_From and Date_To blank on the form, it pulls back all dates.
i have tried several different things and can get either one or the other to work but not when i try to come up with a combined formula... any ideas????
Kyosa
"The key to flexibility is indecision!"