ClaraBarton
Registered User.
- Local time
- Today, 06:41
- Joined
- Oct 14, 2019
- Messages
- 661
I'm calling a detail form from a list form. Usually the detail form is called with a where condition and goes to that record.
However, I also have a New button that calls the detail form in datamode:=acformadd.
To add a new record there are a couple routines I need to run first, so on load :
The me.newrecord always returns 0 and skips to End.
How is this possible if I've called it acformadd? There is no data. It is new.
However, I also have a New button that calls the detail form in datamode:=acformadd.
To add a new record there are a couple routines I need to run first, so on load :
Code:
If me.newrecord then
Call a routine
End If
How is this possible if I've called it acformadd? There is no data. It is new.