Form Edit Mode

raktims

Registered User.
Local time
Today, 09:22
Joined
Jul 29, 2003
Messages
19
Hi,

I am opening a Form from a Button Click with the strLinkCriteria set. However when the Form opens the record pointer points at the First Record in EDIT mode.

I do not want the form to be displayed in EDIT mode and have set the Me.AllowEdit, Me.AllowDeletions & Me.AllowAddition property set to FALSE in OnOpen, OnActivate events. But it still opens in EDIT mode. However when I move from the first record to any other record, the form goes into readOnly mode.

I would really appreciate some help in solving this problem.
Thanks,
Raktim.
 
Try this...

DoCmd.OpenForm "YourFormNameHere", , , , acFormReadOnly

HTH
 
Thanks, But I have already tried that. The problem persists. I am using Xp/Access2k
Raktim
 

Users who are viewing this thread

Back
Top Bottom