Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Access only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Access
Is it possible to save a record by just click on Enter keyboard button?
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Michelle Anderson
New Member
Join Date:
Dec 2006
Posts:
14
#1
Is it possible to save a record by just click on Enter keyboard button?
Mar 17 '08, 07:18 PM
Hi,
I am just wonder if it's possible to click on Enter on the keyboard.
Thanks
missinglinq
Recognized Expert
Specialist
Join Date:
Nov 2006
Posts:
3533
#2
Mar 17 '08, 07:37 PM
Place a command button on your form.
Place this code behind it in the code window:
Code:
Private Sub SaveRecord_Click() If Me.Dirty Then Me.Dirty = False End Sub
Now, in the form's
Design View
, select the button and go to
Properties - Other
and set the
Default Property
to
Yes
.
Now, when the <
Enter
> key is pressed the
Command Button's
code will be run. Obviously, you can only do this for one button on any given form.
Linq
;0)>
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment