Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Saving data using forms 1

Status
Not open for further replies.

mje397

Programmer
Nov 3, 2004
17
US
I am populating a database using a form. Is there any way I can save the details automatically after each record at the end of the form before starting to input the next record.

Thnx
 
I believe the following may assist you.

You could also have a command button named SAVE where you would put this code in the Click event property.
As you go from one record to the next, Access automatically saves the previous record.

An investment in knowledge always pays the best dividends.
by Benjamin Franklin
Autonumber Description - FAQ702-5106
 
As MPH1 said, when you go from one record to the next (or previous), Access automatically saves the record you were working on.

If, however, you really need to save the record before moving to a new blank record, simply click anywhere in the vertical bar that runs up the left side of your form (this is the bar that contains a black triangle "pointing" at the form when you are viewing a saved record, or a symbol that looks like a pencil when you are editing a record). If the "pencil" is showing and you click on that bar, the pencil turns into the triangle and the record is saved without leaving the record.

...Sigh, that's got to be the suckiest explanation ever typed - if it really doesn't make sense, I'll be glad to try again.

Good luck!
Tim
 
Tim,

That is a good point. I just learned something new. I always turn off the Record Selector, consequently, have never had it appear to even try.

An investment in knowledge always pays the best dividends.
by Benjamin Franklin
Autonumber Description - FAQ702-5106
 
thnx mph1,, I added a command button .. made it easier..

But when I press enter,, it is not going to the next field.I am forced to press TAB for moving to the next record..

Is there anything that I can do so that when I press enter it goes to the next step..

Thnx in advance
 
menu Tools -> Options ..., tab Keyboard

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top