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

events how to make them work

Status
Not open for further replies.

Greg25

Technical User
May 30, 2001
159
US
I am not a programmer!
I need to be able to update a field and have it change +1 in that field on a form by dbclick
Also same form by dbclick diff field update to the current date
Could this be done and how
Thanks Greg
 
For the first question, go to the field's double click event in the property window. Hit the elispe button (the one with three dots ...) and choose Event Procedure. When the module comes up type

FieldName = FieldName + 1
(I assume this is a numeric field)

For your second question, you would follow the same steps and when the module comes up type

FieldName = Date()

Hope this helps.

B-) ljprodev@yahoo.com
ProDev
MS Access Applications
 
Thanks I was playing around and found out how it works thanks again Greg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top