Open Form Based on Null Field Value

G

Guest

I'm trying to make a pop up form open based on the blank value of a field on
another form. Form1 has Field1 which if blank, will open the pop up Form2
when Form1 is first opened.
The help is greatly appreciated!!
Thanks,
PHisaw
 
J

jleckrone

Try a OnOpen or OnCurrent event for Form1. It would look something
like this:
If IsNull(Me.Field1) then
Docmd.OpenForm "Form2"
End if
 
G

Guest

Thanks for the quick reply and it worked, but I didn't think this through. I
have five other fields that have pop up forms based on whether they are
blank. So if "Field1" is not blank, but the other five are I'll have five
popup forms open on top of each other. This is a staged event. Field1 must
be completed and initialed before moving to Field2. I only want to show popup
form for Field2 when Field 1 is completed, but not Field3. Is there a way
that I can have only one at a time? Once again, the help is greatly
appreciated!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top