A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

form open



 
 
Thread Tools Display Modes
  #1  
Old March 12th, 2010, 05:00 PM posted to microsoft.public.access.forms
Selby
external usenet poster
 
Posts: 57
Default form open

I have created a form that has its first field as a look-up, but when I open
it to begin entering data, it automatically shows the first entry in the
search table it references. How can I have the form open up with no data
already in the fields? Thanks!

Access 2003
  #2  
Old March 12th, 2010, 05:19 PM posted to microsoft.public.access.forms
fredg
external usenet poster
 
Posts: 4,386
Default form open

On Fri, 12 Mar 2010 09:00:05 -0800, Selby wrote:

I have created a form that has its first field as a look-up, but when I open
it to begin entering data, it automatically shows the first entry in the
search table it references. How can I have the form open up with no data
already in the fields? Thanks!

Access 2003


Do you mean you always wish to open the form to a New Record?

DoCmd.OpenForm "FormName" , , , , acFormAdd

or simply set the form's DataEntry property to Yes

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
  #3  
Old March 12th, 2010, 06:33 PM posted to microsoft.public.access.forms
Selby
external usenet poster
 
Posts: 57
Default form open

Thank you so much - that did it!!!

"fredg" wrote:

On Fri, 12 Mar 2010 09:00:05 -0800, Selby wrote:

I have created a form that has its first field as a look-up, but when I open
it to begin entering data, it automatically shows the first entry in the
search table it references. How can I have the form open up with no data
already in the fields? Thanks!

Access 2003


Do you mean you always wish to open the form to a New Record?

DoCmd.OpenForm "FormName" , , , , acFormAdd

or simply set the form's DataEntry property to Yes

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:17 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.