dean_wat
10-31-2007, 07:13 PM
On my order form, I need to create a textbox that will display an expiration date for returning an order. The date that should be displayed in this box should be 30 days beyond the original order date listed in the form. Here is what I have so far:
Private Sub Form_Load()
Dim strDateString As String
strDateString = Docmd.FindRecord "DatePurchased" & DateAdd("d", +30, Date)
MsgBox "You have till, strDateString, to return your order."
End Sub
Can some one please help:dunno
Private Sub Form_Load()
Dim strDateString As String
strDateString = Docmd.FindRecord "DatePurchased" & DateAdd("d", +30, Date)
MsgBox "You have till, strDateString, to return your order."
End Sub
Can some one please help:dunno