dbTalk Databases Forums  

Form data entering

comp.database.ms-access comp.database.ms-access


Discuss Form data entering in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Leon
 
Posts: n/a

Default Form data entering - 01-01-2005 , 10:58 AM






When I open up the form to enter data it shows record 1.I must then select
the >* to add a new record. Some times I forget to do this and start
entering data into the first record before I realize what I am doing. How do
I get the form to automatically bring up the next blank record in order to
enter data? TIA



Reply With Quote
  #2  
Old   
Ira Solomon
 
Posts: n/a

Default Re: Form data entering - 01-04-2005 , 08:49 AM






In design mode, goto to the properties of the form.
In the events tab find load
Clcik to the far right on the ...
Choose code.

Put the followng 2 lines as the body of the code.

DoCmd.GoToRecord , , acLast
DoCmd.GoToRecord , , acNext

That will do it. Note this can not be tested by single stepping.

Good luck
Ira Solomon

On Sat, 1 Jan 2005 10:58:39 -0600, "Leon" <leon (AT) dillingham (DOT) net> wrote:

Quote:
When I open up the form to enter data it shows record 1.I must then select
the >* to add a new record. Some times I forget to do this and start
entering data into the first record before I realize what I am doing. How do
I get the form to automatically bring up the next blank record in order to
enter data? TIA



Reply With Quote
Reply




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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.