Nancythomas
Registered User.
- Local time
- Yesterday, 19:49
- Joined
- Apr 20, 2010
- Messages
- 59
Hello Everyone
I have a search form where I enter a date range and get a list of all files within a give date.
I have created a cmd button to open form1 or form2 based on the information / data in the above row (results)
I would like the system to do the following:
Private Sub cmdSrchAVLOG_Click()
If Field1.Value = "Availability" Then
''DoCmd.OpenForm "Form1"
If Field2.Value = "NOT Availability" Then
''DoCmd.OpenForm "FORM2"
End If
End Sub
This does not work. Can you please help
I have a search form where I enter a date range and get a list of all files within a give date.
I have created a cmd button to open form1 or form2 based on the information / data in the above row (results)
I would like the system to do the following:
Private Sub cmdSrchAVLOG_Click()
If Field1.Value = "Availability" Then
''DoCmd.OpenForm "Form1"
If Field2.Value = "NOT Availability" Then
''DoCmd.OpenForm "FORM2"
End If
End Sub
This does not work. Can you please help