Open Form Based On Dropdown Selection

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

Guest

I would like to be able to open another form based on the selection from a drop down list, can anybody help

Many thank

Mark
 
In the list box's AfterUpdate eventhandler, put in code
similar to

Dim strFormName as String

Select Case listControl.Value
Case "value1"
strFormName = "someFormName"
Case "value2"
strFormName = "anotherFormName"
Case ......
End Select

DoCmd.OpenForm strFormName

You will have to put in your own dropdown values and the
corresponding form names.

Hope This Helps
Gerald Stanley MCSD
-----Original Message-----
I would like to be able to open another form based on the
selection from a drop down list, can anybody help?
 
Back
Top