I have a form that is called by a switchboard. In this from, "callreport1", you enter criteria which in turn, a query uses to build a form.
The criteria is:
to date
from date
employee name
As it works now if you enter your date range (to/from date) and an employee name it generates a report of info pertaining just to that employee.
I'd like to modify this query so that if the employee field is left blank that they report will return info on all employees for the selected date range.
WARNING: I've got only the most basic grasp of SQL. Anything beyond SELECT, FROM, and WHERE will take a little explaining. Sorry.
The criteria is:
to date
from date
employee name
As it works now if you enter your date range (to/from date) and an employee name it generates a report of info pertaining just to that employee.
I'd like to modify this query so that if the employee field is left blank that they report will return info on all employees for the selected date range.
WARNING: I've got only the most basic grasp of SQL. Anything beyond SELECT, FROM, and WHERE will take a little explaining. Sorry.
