R
Ran BD
Hi Guys,
I have an issue I'm trying to solve for the last few days:
I have a form bound to a table within there are few fields:
Lease Period - type int.
Lease Period Start Date - Type Date
Lease period End Date is an unbound text field calculating the end date of
the lease period.
while entering dada into the form I'm getting #error in the lease period end
date after entering the value for field lease period I'm getting the correct
value as I'm using dateadd("m",[lease_period],[Lease_period_start_date])
I was trying to use and iff statement to eliminate the #error msg. the
statement I was using is:
=IIf(IsNull([Lease_period]),DateAdd("m",[Lease_period],[Lease_period_start_d
ate]))
which produces #error before there is a value entered in the lease_period
date and blank space after the value is entered.
what am I doing wrong ?
thanks
Ran.
I have an issue I'm trying to solve for the last few days:
I have a form bound to a table within there are few fields:
Lease Period - type int.
Lease Period Start Date - Type Date
Lease period End Date is an unbound text field calculating the end date of
the lease period.
while entering dada into the form I'm getting #error in the lease period end
date after entering the value for field lease period I'm getting the correct
value as I'm using dateadd("m",[lease_period],[Lease_period_start_date])
I was trying to use and iff statement to eliminate the #error msg. the
statement I was using is:
=IIf(IsNull([Lease_period]),DateAdd("m",[Lease_period],[Lease_period_start_d
ate]))
which produces #error before there is a value entered in the lease_period
date and blank space after the value is entered.
what am I doing wrong ?
thanks
Ran.