calculated field in form

awake2424

Registered User.
Local time
Today, 03:05
Joined
Oct 31, 2007
Messages
479
I am trying to add a calculated Textbox to a form for DueDate

The below formula gives a #Type! error

Control Source Formula in DueDate:

Using the name of the textbox
Code:
=IIf(IsNull([Text1186]+21),0,([Text1186]+21))

Using the control source
Code:
=IIf(IsNull([RecieveDate]+21),0,([RecieveDate]+21))

Basically just trying to add 21 days from RecieveDate or Text1186.

Thank you :).
 
Last edited:
It could be that the type of your field is a string, and as a result your addition fails with a type mismatch error. What is the datatype of [RecieveDate] in the table?
 
The data type is short text. Thank you :).
 

Users who are viewing this thread

Back
Top Bottom