Open a Form from a Combo box

Atholl

New member
Local time
Today, 18:10
Joined
Aug 29, 2005
Messages
7
Hi all,

The title says it all; how can I make a form appear when something is selected from a combo box?

Thanks in advance,

Atholl
 
On the AfterUpdate Event of the ComboBox in question Code in VBA along the lines of:
Private Sub ComboSomeCombo_AfterUpdate()
If ComboSomeCombo.Value = "SomeValueinthelist" Then
DoCmd.OpenForm "frmSomeForm"
End If
End Sub
hth
Chris
 
Cheers for that, works a charm :)

Atholl
 

Users who are viewing this thread

Back
Top Bottom