R
Ray
I have a form in which I want to set 'allowedits = false' if the record is
over 1 day old. I also have a hidden control that management can press to set
'allow edits = true'.
Which is the best of the form's events to use so that if the record is over
1 day old the 'allowedits = false' will be done. I want it to function only
when it moves to another record. If I use "on Current" event, the it will set
'allowedits = false' as soon as I press the hidden control to set 'allowedits
= true'.
I have the code. I just need to know in which of the form's events to put it.
over 1 day old. I also have a hidden control that management can press to set
'allow edits = true'.
Which is the best of the form's events to use so that if the record is over
1 day old the 'allowedits = false' will be done. I want it to function only
when it moves to another record. If I use "on Current" event, the it will set
'allowedits = false' as soon as I press the hidden control to set 'allowedits
= true'.
I have the code. I just need to know in which of the form's events to put it.