When a record is created in a table (on a button click), a label is visible that says "Successfully created". I want that to display for 2 seconds then disappear. So I have...
Dim times As Date
Const interval As Long = 2000
DoCmd.GoToRecord , , acNewRec
Me.success.Visible = True
times = Now() + interval
I cannot find anything online where I can put something like:
If times=Now() then
me.success.visible=false
end if