I have a database and a form into which I input data. I have an unbound field which is a calculated future date base on the startdate field and the tenure field (in other words I need a date 2,3 or more years [determined by the tenure field] on from the startdate.
Now I have the formula (using DateAdd) to get the correct result. But, when I go to add a new record, the figure in the unbound field is displayed in the new record until a new startdate is selected.
I have one part of the formula in the on update of the startdate, and the same formula in the forms on current. I think I might need to use an If-Then code, but cannot remember how to do that.
Any help appreciated, as I have been snooping around this and other forums for the netter part of the last week looking for something that might help.
Now I have the formula (using DateAdd) to get the correct result. But, when I go to add a new record, the figure in the unbound field is displayed in the new record until a new startdate is selected.
I have one part of the formula in the on update of the startdate, and the same formula in the forms on current. I think I might need to use an If-Then code, but cannot remember how to do that.
Any help appreciated, as I have been snooping around this and other forums for the netter part of the last week looking for something that might help.