Open Form Based On Dropdown Selection

M

Mark Smith

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
 
G

Gerald Stanley

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?
 

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