L
LDB
I need to display 1 of 3 different dates in a "Due Date" field on a form.
I have an expression which shows me Group A Due Date if the Group is A and
Group B Due Date if the Group is B (these due dates are calculated controls).
I also need to include a Special due date, which is not calculated, but is
an actual field in the underlying table.
Here's what I have so far, and it works fine until I try to include the
special due date:
=IIf([GROUP]="A",[GROUPADUEDATE],IIf([GROUP]="B",[GROUPBDUEDATE]))
When I try to include the Special due date to say "IIf the Special Due Date
is different than the GroupADueDate or the GroupBDueDate, then display
Special Due Date", I don't get the Special Due Date or I get a weird date
(12/29/1899)!
What's wrong?
Thanks
LDB
I have an expression which shows me Group A Due Date if the Group is A and
Group B Due Date if the Group is B (these due dates are calculated controls).
I also need to include a Special due date, which is not calculated, but is
an actual field in the underlying table.
Here's what I have so far, and it works fine until I try to include the
special due date:
=IIf([GROUP]="A",[GROUPADUEDATE],IIf([GROUP]="B",[GROUPBDUEDATE]))
When I try to include the Special due date to say "IIf the Special Due Date
is different than the GroupADueDate or the GroupBDueDate, then display
Special Due Date", I don't get the Special Due Date or I get a weird date
(12/29/1899)!
What's wrong?
Thanks
LDB