Hello, I am having isues with the following:
I have two forms, a MAIN FORM with a SUB FORM:
Within the MAIN FORM, I have an unbound textbox (Date Format) and a
command button. Onload, the textbox defualts to Date().
The SUB FORM has a bound textbox (Date Format).
I am trying to create the code for the command button to compare the
two dates. If the SUB FORM textbox (containing the date) + 60 Days is
greater the MAIN FORMS date (todays date) then open a form, else open
another form.
The Pseudocode I have come up with is the following:
If Subform textbox + 60 days Mainform textbox then
Open Form 1
Else
Open Form 2
When I run the code, i don't think it is recognizing the date + 60
days. Any suggestions on the "+ 60 days" syntax?
Thank you in advance!