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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Don't Advance to Next Record

Status
Not open for further replies.

jocat

Technical User
Dec 28, 2001
25
US
I am working on a database to track invoices. I have created a form for data entry of new invoices and editing of existing invoices. I have placed a "Save Record" button in the form footer. I want to require that the entry clerk use the "Save Record" button.

The problem is that when the enter key is hit while in the last field of the form, the record is saved and it advances to the next record. How do I prevent this and restrict saving the record to the "Save Record" button.

I did it before, but I can't remember how. I would like a beep, or message box to appear (or both) when the enter key is hit while in the last field of the record.

I am using Access97.

Any help would be greatly appreciated.

Thanks in advance.

Jocat
 
Take a look at the Cycle property of the form.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
It worked.

Thanks much. I will record this in my reference file so I don't forget again (I'm getting old).

Jocat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top