Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding Date

Status
Not open for further replies.

finberg

Programmer
Aug 23, 2002
27
UA
Is trying to run a code for Set in a field Expiry Date the date that is 3 month bigger that the one in shipement date.Has made a code:
Forms!insurance![Expiry date] = DateAdd("mm", 3, Forms!insurance![Date of Loading])
That does not work
Any ideas?
 
Hi finberg,

Assuming it's not a typo in the post, try it with a single m instead of a double mm ..

Forms!insurance![Expiry date] = DateAdd("m", 3, Forms!insurance![Date of Loading])


Enjoy,
Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top