Hello,
I have two date fields on a sub form. I'm trying to update the field named txtGLTransDate after I enter a value in the field txtRegTransDate. I'm getting a message that says "invalid outside procedure." How do I correct this error? Here is the code that I wrote to try an achieve what I want to do.
Private Sub txtRegTransDate_AfterUpdate()
'Updates the txtGLTransDate to value of txtRegTransDate and
txtGLTransDate.Value = txtRegTransDate.Value
End Sub
Thanks,
Joel Wiggers