K
Keith
I am quite new to this and need some help.
I have a form with a record source of a query. In the query I have the
criteria set to ask the user a question in a popup box which searches a
table for that input which is then reported back to the form to view
EmployeeNumberQuery is as follows:
Field: Employee
Table: Employee_Number
Criteria: [Enter the Employee Number] <-this is the value I want
to capture and display in the form
This query also has other fields that are reported back to the form that
match the entered value
The Employee_Listing_Table is as follows:
Form Header has one unbound text box - Text0 to display the value [Enter the
Employee Number] entered from the query
Detail has one unbound text box - Text1 to display all other values that
correspond to [Enter the Employee Number] in a continious listing form
The form looks like this:
Training for Employee 12345 <- Value entered for [Enter the Employee
Number] and is in the Header
XXXX Welder
XXXX Torch
XXXX SCBA <- These items shown in the Detail section
XXXX Micrometer
XXXX Cl2 Procedures
My problem is if a value is entered in the [Enter the Employee Number] is
not found in the table, it is not displayed in the form. I comes back blank
although I would like for it to appear showing that is what the search was
for. This is what the it looks like if 12345 is not found in the table:
Training for Employee <-Searched number not shown.
Please help...is there any way to trap that entered value so it can always
be displayed
Thanks in advance
I have a form with a record source of a query. In the query I have the
criteria set to ask the user a question in a popup box which searches a
table for that input which is then reported back to the form to view
EmployeeNumberQuery is as follows:
Field: Employee
Table: Employee_Number
Criteria: [Enter the Employee Number] <-this is the value I want
to capture and display in the form
This query also has other fields that are reported back to the form that
match the entered value
The Employee_Listing_Table is as follows:
Form Header has one unbound text box - Text0 to display the value [Enter the
Employee Number] entered from the query
Detail has one unbound text box - Text1 to display all other values that
correspond to [Enter the Employee Number] in a continious listing form
The form looks like this:
Training for Employee 12345 <- Value entered for [Enter the Employee
Number] and is in the Header
XXXX Welder
XXXX Torch
XXXX SCBA <- These items shown in the Detail section
XXXX Micrometer
XXXX Cl2 Procedures
My problem is if a value is entered in the [Enter the Employee Number] is
not found in the table, it is not displayed in the form. I comes back blank
although I would like for it to appear showing that is what the search was
for. This is what the it looks like if 12345 is not found in the table:
Training for Employee <-Searched number not shown.
Please help...is there any way to trap that entered value so it can always
be displayed
Thanks in advance