C cybertyk Registered User. Local time Today, 04:54 Joined Jul 7, 2010 Messages 49 Aug 4, 2010 #1 how would i go about string = date() + 3months ?
JamesMcS Keyboard-Chair Interface Local time Today, 04:54 Joined Sep 7, 2009 Messages 1,819 Aug 4, 2010 #2 try looking up the dateadd function in the help file, should be what you need...
N namliam The Mailman - AWF VIP Local time Today, 05:54 Joined Aug 11, 2003 Messages 11,685 Aug 4, 2010 #3 And if you need it to be not a date but a string, use the FORMAT function.
JamesMcS Keyboard-Chair Interface Local time Today, 04:54 Joined Sep 7, 2009 Messages 1,819 Aug 4, 2010 #4 Would it be CDate() that OP would want to use? Or does it not make a difference? Depends how it's stored in the table I guess
Would it be CDate() that OP would want to use? Or does it not make a difference? Depends how it's stored in the table I guess
C cybertyk Registered User. Local time Today, 04:54 Joined Jul 7, 2010 Messages 49 Aug 4, 2010 #5 Me.Company_Next_Contact_Date.Value = DateAdd("m", 3, Date) was the anwser, ok next question. when the forms load they always load stupid sizes so i have to click the form to size buttion is there a way to force this on oading of the form?
Me.Company_Next_Contact_Date.Value = DateAdd("m", 3, Date) was the anwser, ok next question. when the forms load they always load stupid sizes so i have to click the form to size buttion is there a way to force this on oading of the form?
JamesMcS Keyboard-Chair Interface Local time Today, 04:54 Joined Sep 7, 2009 Messages 1,819 Aug 4, 2010 #6 Yep have a look at form.height and form.width properties