Ian Wright
Registered User.
- Local time
- Today, 01:34
- Joined
- Oct 20, 2007
- Messages
- 28
Help please, I am struggling to auto populate a field upon loss focus of another field. I want current date + 7 days. I have tried using:
NCD1 = DateAdd(d, 7, Date)
and get runtime error 5 - Invalid procedure call or argument
From what I have seen on the web there should be a () after the "Date" but Access 2007 removes these when I accept the line.
I have checked with just Date, once again () removed by program and it works so the fields are good.
I would be most obliged if someone would help. :banghead:
Thanks, Ian
NCD1 = DateAdd(d, 7, Date)
and get runtime error 5 - Invalid procedure call or argument
From what I have seen on the web there should be a () after the "Date" but Access 2007 removes these when I accept the line.
I have checked with just Date, once again () removed by program and it works so the fields are good.
I would be most obliged if someone would help. :banghead:
Thanks, Ian