S
SusanV
Hi all,
I'm trying to lock a record programmatically based on whether a certain
field has been populated. Basically, I have an Access 2000 database which is
used for tracking progress of reports in a project. Once a report is
completed and final, I do not want users to be able to alter the record in
any way. I have a main form with tab control for several subforms. All forms
involved have tables as their source. One subform (subfrmTimeline) tracks
timeline of various stages of completion, and contains a text control MMLReg
which is the date the report is final and complete. How can I set this to
lock ONLY the records where MMLReg is not null? I can't lock all records,
and this is outside of editing records, and the help, msdn and googling the
groups doesn't seem to turn anything up outside of none, all or edited.
I suppose I could lock individual controls for all forms, but that seems a
long way to go around.
TIA,
Susan
I'm trying to lock a record programmatically based on whether a certain
field has been populated. Basically, I have an Access 2000 database which is
used for tracking progress of reports in a project. Once a report is
completed and final, I do not want users to be able to alter the record in
any way. I have a main form with tab control for several subforms. All forms
involved have tables as their source. One subform (subfrmTimeline) tracks
timeline of various stages of completion, and contains a text control MMLReg
which is the date the report is final and complete. How can I set this to
lock ONLY the records where MMLReg is not null? I can't lock all records,
and this is outside of editing records, and the help, msdn and googling the
groups doesn't seem to turn anything up outside of none, all or edited.
I suppose I could lock individual controls for all forms, but that seems a
long way to go around.
TIA,
Susan