I have a query that asks the end user for an employee number IE: = [employee no] this works great and pulls up all the records for the employee number entered. But what I also want it to do is if no employee number is entered I want the query to pull up records for ALL the employee numbers. Help
I think my original statement was misleading. What I am trying to do is give the end user the option of using this report query to print the records from just one emplyee number IE =[Employee Number] where I have records for say 10 employee's (1 through 10) and the end user would enter a number 1 through 10 and the query will pull up the records for that employee number. or if the end user leaves the query requst for an employee number blank (just presses the enter key without entering a number) I want the query to return records for all the employee numbers 1 through 10. There by allowing the end user to print a report for just one employee or a report that includes all the employee's
Thanks again for your help
I think my original statement was misleading. What I am trying to do is give the end user the option of using this report query to print the records from just one emplyee number IE =[Employee Number] where I have records for say 10 employee's (1 through 10) and the end user would enter a number 1 through 10 and the query will pull up the records for that employee number. or if the end user leaves the query requst for an employee number blank (just presses the enter key without entering a number) I want the query to return records for all the employee numbers 1 through 10. There by allowing the end user to print a report for just one employee or a report that includes all the employee's
Thanks again for your help
Last edited: