DblDogDare
Registered User.
- Local time
- Yesterday, 19:09
- Joined
- Feb 14, 2003
- Messages
- 17
I am having some difficulty with Auto Populating Date fields. I have a form that has multiple (7) signature blocks and each signature block has a corresponding date field where some, or all, are filled while filling out the form. (2) of these signature blocks will always have a name entered. I have an OnDirty Event to populate the date field of these 2 blocks. These are working fine. The other (5) may or may not have a Name in the sig block. However, when and if a name is entered into the sig field, I would like the default Date() automatically entered into the corresponding date field for that sig. block. Now, this date can be changed if need be. I tried entering an AfterUpdate event as such in the Code Builder;
Private Sub (SigBlockField)_AfterUpdate()
If Me![SigBlockField] IsNotNull Then
Me![SigDateField] = Date()
End Sub
I keep getting an error and can not figure out what is wrong. Any help is greatly appreciated
Private Sub (SigBlockField)_AfterUpdate()
If Me![SigBlockField] IsNotNull Then
Me![SigDateField] = Date()
End Sub
I keep getting an error and can not figure out what is wrong. Any help is greatly appreciated