G
Guest
Hello,
I have created a form which gets its data from a parameter query. The
user opens the form which prompts them for a string which they type in
(employee number). The form opens and displays data which matches the string
(employee number). This same form also has a subform which displays other
data from a linked table that matches the string (employee number) originally
defined via the parameter query. This all works great as long as the string
(employee number) is already in the table to which the parameter query is
looking. If it is not things go awry.
Is there an easy way to have the original parameter query check to see if
any results are returned and if not instead open a different form (one which
will allow the user to add a new string (employee number) to the table?
However, if the parameter query does match results for the string it would
open the original form as usual?
Thanks in advance
I have created a form which gets its data from a parameter query. The
user opens the form which prompts them for a string which they type in
(employee number). The form opens and displays data which matches the string
(employee number). This same form also has a subform which displays other
data from a linked table that matches the string (employee number) originally
defined via the parameter query. This all works great as long as the string
(employee number) is already in the table to which the parameter query is
looking. If it is not things go awry.
Is there an easy way to have the original parameter query check to see if
any results are returned and if not instead open a different form (one which
will allow the user to add a new string (employee number) to the table?
However, if the parameter query does match results for the string it would
open the original form as usual?
Thanks in advance