Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

update a locked field with VBA

Status
Not open for further replies.

MrMcFestoe

Technical User
Apr 6, 2003
119
GB
I have a toggle field on a form witch is update with the value from a table. 1 , 2 , 3 on the same form can VBA code update these locked fields, i dont want the use to be able to change the toggle field without input a date in field 1, field 2, field 3.

any ideas
 
Why not disable the toggle fields until they enter a date? Use the AfterUpdate property of each date field to call the same function in code-behind-form. In this function, decide whether or not to disable the toggle buttons.


Take care,
--Shaun

"I wish that my room had a floor; I don't care so much for a door.
But this crawling around without touching the ground is getting to be quite a bore!" -- Gelett Burgess
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top