Re: recogising how form is openned

Tech-Archive recommends: Fix windows errors by optimizing your registry



On Thu, 20 Apr 2006 21:06:02 +0100, Andre C wrote:

is there a VBA way of telling if a form is opened in add or edit
mode. I want to make a particular control invisible if the form is
opened in add mode.

If Me.AllowEdits = true Then

If Me.AllowAdditions = True Then

If Me.DataEntry = True then
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
.