Query works alone, but not with form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a query that displays record info for a specific job number that the
user enters using criteria [Please enter job number]. The query works when I
run it. When I try to use a form with the query as the source, it doesn't
ask for the job number. I have done this before without any problems and I
can't figure out what I am missing this time.

Any ideas?
 
Not sure why it isn't working with your form, but you could probably solve
it by adding a parameter to the query.

In query design view, choose Parameters on the Query menu.
Access opens a dialog. Enter:
[Please enter job number] Long

This assumes your JobNumber field is a Number type (size Long Integer).
 
Back
Top