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

Continuous Add routine on form

Status
Not open for further replies.

hceonetman

Technical User
Mar 16, 2001
92
US
I have a form which pulls data from a single table. The user would like to have an add mode where it's not necessary to click the mouse between adds. In other words, after hitting <Enter> from the last field, the cursor should go to the top field in a new record. I expect what's needed is a routine in the 'On enter' property of the last field. Does the 'next record' command work when adding new records? The code I've tried so far has only given me compile errors.

Thanks for your help
HCEONETMAN
 
That the default way Access works anyhow did you try it? DougP, MCP
 
Hi:
In your form's property sheet, look at the &quot;Other&quot; tab: the value of &quot;Cycle&quot; should be set to &quot;All Records&quot;. Gus Brunston [glasses] An old PICKer, using Access2000.
 
DougP,
It seems I've left out a valuable piece of info. The last field is a memo field, so the Enter key does not exit the field. However, the Tab key does do this, so maybe the user will be fine with that. I expect it was made memo instead of text because it was imported from an old Foxpro app.
I hadn't worked with this particular database in several months, so I'm just at the point of re-acquainting myself with it. I'm also in the middle of some tutorials on Access, so in the future I hope to pose much tougher questions.
Thanks for your help.
HCEONTEMAN
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top