D
Don
I have a text box (DAYS_GOOD_THROUGH) that is formatted as a Long Integer in
the underlying table with a default value of 30. I have another text box
(GOOD_THROUGH) that is formatted as a Date/Time in the underlying table.
I've written the following code to be executed when the form is open;
however, I keep getting an error.
Me.GOOD_THROUGH = DateAdd("d", Me.DAYS_GOOD_THROUGH, Date)
I want the date that is returned in the text box (GOOD_THROUGH) to be x
amount of days into the future, depending on the value in the text box
DAYS_GOOD_THROUGH.
I'm sure it's something simple that I've not thought about. I'm wondering
if it's due to the way I've set the numerical value of the DAYS_GOOD_THROUGH.
Any help would be appreciated.
the underlying table with a default value of 30. I have another text box
(GOOD_THROUGH) that is formatted as a Date/Time in the underlying table.
I've written the following code to be executed when the form is open;
however, I keep getting an error.
Me.GOOD_THROUGH = DateAdd("d", Me.DAYS_GOOD_THROUGH, Date)
I want the date that is returned in the text box (GOOD_THROUGH) to be x
amount of days into the future, depending on the value in the text box
DAYS_GOOD_THROUGH.
I'm sure it's something simple that I've not thought about. I'm wondering
if it's due to the way I've set the numerical value of the DAYS_GOOD_THROUGH.
Any help would be appreciated.