jazminecat
Programmer
Hi all --
I have a report based on a query that returns records which contain dates. The dates are not always populated. The date fields are
NoticeDate1
NoticeDate2
NoticeDate3
What I would like is for the field to show the dates, with commas in between for each record, and not show any info if the dates are empty. For example:
Record 1 has NoticeDate1 = 1/1/2006
NoticeDate2 = 5/5/2006
I would like to see:
1/1/2006, 5/5/2006
When I try to concatenate them with the following in the control source of a text box, I get #Error.
=[NoticeDate1] & [NoticeDate2] & [NoticeDate3]
I have also tried
=Nz([NoticeDate1]) & Nz([NoticeDate2]) & Nz([NoticeDate3])
with the same results. Any thoughts?
Thanks!
I have a report based on a query that returns records which contain dates. The dates are not always populated. The date fields are
NoticeDate1
NoticeDate2
NoticeDate3
What I would like is for the field to show the dates, with commas in between for each record, and not show any info if the dates are empty. For example:
Record 1 has NoticeDate1 = 1/1/2006
NoticeDate2 = 5/5/2006
I would like to see:
1/1/2006, 5/5/2006
When I try to concatenate them with the following in the control source of a text box, I get #Error.
=[NoticeDate1] & [NoticeDate2] & [NoticeDate3]
I have also tried
=Nz([NoticeDate1]) & Nz([NoticeDate2]) & Nz([NoticeDate3])
with the same results. Any thoughts?
Thanks!