Hi,
I use IIf([ReserveDate] Is Null,Null,([ReserveDate] & " & " &
[ReserveDateTo])) to display ReserveDate & ReserveDateTo if ReserveDate is
Null. It works fine.
However, when ReserveDate has value, it displayed with &.
Ex: 12/22/08 &.
Would you please show me how to take the “&” off?
Thanks
Chi
Duane Hookom - 19 Mar 2008 15:29 GMT
Try:
[ReserveDate] & IIf(IsNull([ReserveDateTo]),Null," & " & [ReserveDateTo])

Signature
Duane Hookom
Microsoft Access MVP
> Hi,
>
[quoted text clipped - 10 lines]
> Thanks
> Chi
Chi - 19 Mar 2008 15:46 GMT
Hi Duane,
It works perfectly! Thank you so much.
Chi
> Try:
> [ReserveDate] & IIf(IsNull([ReserveDateTo]),Null," & " & [ReserveDateTo])
[quoted text clipped - 13 lines]
> > Thanks
> > Chi
Marshall Barton - 19 Mar 2008 16:19 GMT
>I use IIf([ReserveDate] Is Null,Null,([ReserveDate] & " & " &
>[ReserveDateTo])) to display ReserveDate & ReserveDateTo if ReserveDate is
[quoted text clipped - 5 lines]
>
>Would you please show me how to take the & off?
IIf([ReserveDate] Is Null, Null, [ReserveDate] & (" & " +
[ReserveDateTo]))

Signature
Marsh
MVP [MS Access]