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!

Scrolling use on mouse skewes data entry 1

Status
Not open for further replies.

MaddiMond

Technical User
Mar 28, 2005
76
US
I have created a big form and people enter data, but they are used to use the scroll "thingi" on their mouse and they accidently switch to another record and then get confused. Teh continue entering data for another record already in the database and the data gets skewed. Can I somehow stop the effect that the scrolling knob has on the form?
Thank you for your help.
 
How about changing the form properties to

data/allow additions - no
data/data entry - yes
other/cycle - current record

add a command button to save the record once it has been completed.

Code:
Private Sub SaveRecCMD_Click()
On Error GoTo Err_SaveRecCMD_Click

    DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
    MsgBox "Record saved", vbInformation, "Title"
    DoCmd.GoToRecord , , acNewRec
    
Exit_SaveRecCMD_Click:
    Exit Sub

This will stop it.

Program Error
Programmers do it one finger at a time!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top