Disable field from frame

  • Thread starter Thread starter Starr McGrath via AccessMonster.com
  • Start date Start date
S

Starr McGrath via AccessMonster.com

Ia am very new to VBA -I have been trying to disable a date field on my
form by clicking an item in the option box (there are only 2 choices -
current and delinquent). Example in the After update of the Frame

If Me.Frame102 = 1 then
Me.Ctrl30Dayltr.Enabled = True
Else
Me.Ctrl30Dayltr.Enabled = False
End If


This is not working - any ideas as to how to fix this
 
You say it isn't working - what is it doing?

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
 
It was disabling the date field all the time not just when the current
button was clicked.
 
I suppose you've tried:
If Me.Frame102 = 2 then

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
 
Back
Top