G
Guest
I am an Access developer in Access 2002.
A simple code below in my form_load code is not running.
I've debug the code and it walks thru with no problem but when
I open the form, the control source is not pointing to the field I've
directed it too.
Private Sub Form_Load()
Dim strLevel as string
strLevel = "VP"
Select Case pubTitle
Case "DOS"
Me.Txt_Lock.ControlSource = "Field1"
Case "VP"
Me.Txt_Lock.ControlSource = "Field2"
End Select
End Sub
thank you.
A simple code below in my form_load code is not running.
I've debug the code and it walks thru with no problem but when
I open the form, the control source is not pointing to the field I've
directed it too.
Private Sub Form_Load()
Dim strLevel as string
strLevel = "VP"
Select Case pubTitle
Case "DOS"
Me.Txt_Lock.ControlSource = "Field1"
Case "VP"
Me.Txt_Lock.ControlSource = "Field2"
End Select
End Sub
thank you.