I have an unbound form (Microsoft Access 2000 ADP/SQL Server 2000) which has a list box containing values from a Views'Single field (only 1 field for Flagging). When the value is Y, I intend to turn OFF an overlayed image on the form. The value in the local window is always "null" no matter what I try. Am I missing something maybe to make the value visible to access.
Here is my code I have tried just about everything and am exhauseted it has to be so simple it will hurt....
Private Sub Form_Activate()
Forms!MainDashboard.List77.SetFocus
If Forms!MainDashboard.List77.Value = "Y" Then
Forms!MainDashboard.Image82.Visible = False
End If
End Sub
Thanks all who reply...
![[sadeyes] [sadeyes] [sadeyes]](/data/assets/smilies/sadeyes.gif)
![[sadeyes] [sadeyes] [sadeyes]](/data/assets/smilies/sadeyes.gif)
Jim
Jimbo![[bigsmile] [bigsmile] [bigsmile]](/data/assets/smilies/bigsmile.gif)
Here is my code I have tried just about everything and am exhauseted it has to be so simple it will hurt....
Private Sub Form_Activate()
Forms!MainDashboard.List77.SetFocus
If Forms!MainDashboard.List77.Value = "Y" Then
Forms!MainDashboard.Image82.Visible = False
End If
End Sub
Thanks all who reply...
![[sadeyes] [sadeyes] [sadeyes]](/data/assets/smilies/sadeyes.gif)
![[sadeyes] [sadeyes] [sadeyes]](/data/assets/smilies/sadeyes.gif)
Jim
Jimbo
![[bigsmile] [bigsmile] [bigsmile]](/data/assets/smilies/bigsmile.gif)