Having a problem with #Num! error in date field

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to get a field inside a form that will show 90 day difference
from another field in the same form, I've tried date serial and date add, but
will either get a blank field or an error message in the destination field.
I'm not a coder, so if there is anyway to help I'd greatly appreciate it.
Please help me with this if you can.
 
In the ControlSource of the field, write

= IIf([Date Field Name] Is Null, "", DateAdd("d",90,[Date Field Name]))
 
Please post the expression you used as the ControlSource for the TextBox and
gives details of custom name(s) you used in the expression.
 
OHHH MYYYY GOODDNESSSSS!!! Thank you so much! I should have posted this
problem a long time ago! You have my deepest heart felt appreciation!

Ofer said:
In the ControlSource of the field, write

= IIf([Date Field Name] Is Null, "", DateAdd("d",90,[Date Field Name]))

--
\\// Live Long and Prosper \\//


cydvicious said:
I am trying to get a field inside a form that will show 90 day difference
from another field in the same form, I've tried date serial and date add, but
will either get a blank field or an error message in the destination field.
I'm not a coder, so if there is anyway to help I'd greatly appreciate it.
Please help me with this if you can.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top