Guy Boswell
Registered User.
- Local time
- Today, 01:11
- Joined
- Jul 20, 2009
- Messages
- 26
I want to date stamp a record in a table when a user amends a value via a form.
I have a simple form, frmRiverLevels that displays values from a table tblRiverLevels. The fields are fldTargetArea (text field, linked to another table of places for which I can hold river level information), fldCurrentRiverLevelMessage (text field) and fldMessageDate (date field).
The form is opened from another form which passes the value of the fldTargetArea. I don't want the user to see or change the message of other target areas or set up new target areas from this form. So I have switched off the navigation buttons and they only see the one record.
Only the fldCurrentRiverLevelMessage and an exit button are enabled on the form. Whenever the user has changed the value in this field and presses Enter I want the fldMessageDate to update to Now(), preferably before they hit the exit button so they can see it has changed.
Please can someone help me - I'm getting nowhere fast. What do I put into which event box?
Oh yes, I changed the Enter Key Behaviour for the message to Default instead of New Line in Field but that didn't help.
Thank you very much for your help. Guy
I have a simple form, frmRiverLevels that displays values from a table tblRiverLevels. The fields are fldTargetArea (text field, linked to another table of places for which I can hold river level information), fldCurrentRiverLevelMessage (text field) and fldMessageDate (date field).
The form is opened from another form which passes the value of the fldTargetArea. I don't want the user to see or change the message of other target areas or set up new target areas from this form. So I have switched off the navigation buttons and they only see the one record.
Only the fldCurrentRiverLevelMessage and an exit button are enabled on the form. Whenever the user has changed the value in this field and presses Enter I want the fldMessageDate to update to Now(), preferably before they hit the exit button so they can see it has changed.
Please can someone help me - I'm getting nowhere fast. What do I put into which event box?
Oh yes, I changed the Enter Key Behaviour for the message to Default instead of New Line in Field but that didn't help.
Thank you very much for your help. Guy