I want to change the Row Source of a pull-down list based on the value selected in another field on the form. There will be only two possibilities. I have 2 tables (SCA and SOC) containing the values I want in both cases.
I am writing a VB procedure to run at the OnExit event for the later field. Is this the beginning of the correct syntax to make that change, and what is the rest?
If Forms!Form1!Frame10 = 1 Then
Me.REFNUM1.RowSource = SCA
Else
Me.REFNUM1.RowSource = SOC
End If
I am writing a VB procedure to run at the OnExit event for the later field. Is this the beginning of the correct syntax to make that change, and what is the rest?
If Forms!Form1!Frame10 = 1 Then
Me.REFNUM1.RowSource = SCA
Else
Me.REFNUM1.RowSource = SOC
End If