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

Changed data on a form

Status
Not open for further replies.

tetorvik

Programmer
Sep 6, 2001
13
0
0
FI
Is there any easy way to determine if a user has changed a data on a form?

Thanks
 
Yes. Create a global variable " Dim Changed As Boolean" and then attatch code to all of the controls_Changed properties:

Option Explicit
Dim Changed As Boolean

Private Sub Text1_Change()
Changed = True
End Sub

Private Sub Text2_Change()
Changed = True
End Sub

etc

etc

LOL

Hunter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top