After update problem

Pusher

BEOGRAD Put
Local time
Today, 21:46
Joined
May 25, 2011
Messages
230
Hi y'all,

I made i short date text box in my form, with afterupdate feature that keeps the same date as the record before with the code
Private Sub DATUM_IZVESTAJA_AfterUpdate()

Me.DATUM_IZVESTAJA.DefaultValue = """" & Me.DATUM_IZVESTAJA.Value & """"

End Sub
But it seems not to work when i enter the form anew and scroll down to the new record.
 
Last edited:
That code will only fire after there has been a change made to DATUM_IZVESTAJA

If you want code to run when changing which record has the focus try OnCurrent.
 

Users who are viewing this thread

Back
Top Bottom