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  

Open form to blank form elements?



 
 
Thread Tools Display Modes
  #1  
Old August 19th, 2005, 03:41 AM
Brook
external usenet poster
 
Posts: n/a
Default Open form to blank form elements?

Good Day All,

I have a form I use to lookup items in my tblinventory. when I open the
form from my switchboard, I want it to open up "blank", then I can use my cmd
buttons to perform my searches or lookups?

Any ideas?

Brook
  #2  
Old August 19th, 2005, 03:52 AM
Rick Brandt
external usenet poster
 
Posts: n/a
Default

Brook wrote:
Good Day All,

I have a form I use to lookup items in my tblinventory. when I open
the
form from my switchboard, I want it to open up "blank", then I can
use my cmd buttons to perform my searches or lookups?

Any ideas?

Brook


So open it in DataEntry mode. Use the acFormAdd argument of the OpenForm
method.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


  #3  
Old August 19th, 2005, 08:48 AM
Steve Schapel
external usenet poster
 
Posts: n/a
Default

Brook,

... or, use this:
DoCmd.GoToRecord , , acNewRecord
.... in your code when the form is opened. One difference between this
and the idea suggested by Rick is whether you want to be able to scroll
back through the existing records.

--
Steve Schapel, Microsoft Access MVP


Rick Brandt wrote:

So open it in DataEntry mode. Use the acFormAdd argument of the OpenForm
method.

 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
strategy for data entry in multiple tables LAF Using Forms 18 April 25th, 2005 04:04 AM
Design help, please SillySally Using Forms 27 March 6th, 2005 04:11 AM
Cursor Positioning Colin Hammond General Discussion 3 November 2nd, 2004 08:42 PM
open a blank form in Access 2002 nsumis2005 Using Forms 6 October 27th, 2004 06:49 PM
Open a form directly to a blank (New) record Nick in Tokyo Using Forms 1 August 16th, 2004 11:37 AM


All times are GMT +1. The time now is 02:11 AM.


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