Date plus three

TomJamieson

Registered User.
Local time
Today, 08:49
Joined
Jun 8, 2006
Messages
50
Hi,

I have a date field called bookedindate, another field called supplier, and another called bookedoutdate. What I want to happen is, if a certain supplier is chosen, the bookedoutdate automatically changes to 3 days after the bookedindate. I'm okay with most of the code, it's just how to do the actual date plus three part.

If supplier = "x" then

bookedoutdate = bookedindate +3. <-----it's this line of code I'm struggling with.

Thanks in advance.
 
Nice and easy, Thanks!
 

Users who are viewing this thread

Back
Top Bottom