L
Lee
Hello everybody,
This is odd!...but perhaps you might be able to offer an
explanation. I'll try and be brief.
FormLoad event sets the 'AllowEdits'property to NO.
I've put a command button on the form that, when clicked,
alters the property to YES so that the user may amend the
current record.
I've set the AfterUpdate event of the form to reset the
property to NO so that (hopefully!) when the user moves
to another record and/or clicks on Save, the records are
once again un-editable.
This works fine except for the following cases:
There's an OptionGroup within the form with two choices -
1 is the default.
If I allow Edits (by clicking on the command button) and
select option 2, I can continue to amend the record no
matter what I do. I can even close the app down! I
can't amend other records but I can amend any set to
option 2. I can't imagine what's going on here!
Any ideas would be very welcome.
Thanks in advance,
Lee
This is odd!...but perhaps you might be able to offer an
explanation. I'll try and be brief.
FormLoad event sets the 'AllowEdits'property to NO.
I've put a command button on the form that, when clicked,
alters the property to YES so that the user may amend the
current record.
I've set the AfterUpdate event of the form to reset the
property to NO so that (hopefully!) when the user moves
to another record and/or clicks on Save, the records are
once again un-editable.
This works fine except for the following cases:
There's an OptionGroup within the form with two choices -
1 is the default.
If I allow Edits (by clicking on the command button) and
select option 2, I can continue to amend the record no
matter what I do. I can even close the app down! I
can't amend other records but I can amend any set to
option 2. I can't imagine what's going on here!
Any ideas would be very welcome.
Thanks in advance,
Lee