Re: Editing Data in Form
- From: "Linq Adams via AccessMonster.com" <u28780@uwe>
- Date: Tue, 31 Mar 2009 20:42:46 GMT
It always amazes me how questions run in cycles. I've read this same question
twice in the past 24 hours!
My guess is that you're doing something in code, probably in your Form_Open,
Form_Load or Form_Current event to assign a value to a control. When you do
this the current record then becomes editable.
Moving to another record will reset the locked state. If this is happening in
the Form_Open or Form_Load event, you can follow the assignment code with
DoCmd.GoToRecord , , acNext
DoCmd.GoToRecord , , acPrevious
and this will reset it. If it's in the Form_Current event you'll probably
need to rethink your design.
BTW, the same thing will happen if you open the form in ReadOnly mode.
--
There's ALWAYS more than one way to skin a cat!
Answers/posts based on Access 2000/2003
Message posted via http://www.accessmonster.com
.
- References:
- Editing Data in Form
- From: Don Stone
- Re: Editing Data in Form
- From: Jeff Boyce
- Editing Data in Form
- Prev by Date: Re: Saving the file to different formats
- Next by Date: Re: Drop down list
- Previous by thread: Re: Editing Data in Form
- Next by thread: Trouble with command button
- Index(es):