J
John T Ingato
I must be missing something
I have a query created in design view which pulls the following fields from
two aliases of one table:
a.ReportDate
b.ReportDate
I have entered into each query design field:
Field: FromDate: ReportDate
Table: a
Field ToDate
Table: b
Criteria: DateAdd("d",7,[a].[ReportDate])
When I run the query each field shows up as ReportDate, not From or To
I highlighted the first field and changed the caption to FromDate and that
worked... Oddly though, the SQL never changed.
The beginning part of the SQL shows:
SELECT a.ReportDate AS FromDate, b.ReportDate AS ToDate,
a.ReportDate shows up as FromDate, b.ReportDate shows up as ReportDate
Can anyone tell me why?
I have a query created in design view which pulls the following fields from
two aliases of one table:
a.ReportDate
b.ReportDate
I have entered into each query design field:
Field: FromDate: ReportDate
Table: a
Field ToDate
Table: b
Criteria: DateAdd("d",7,[a].[ReportDate])
When I run the query each field shows up as ReportDate, not From or To
I highlighted the first field and changed the caption to FromDate and that
worked... Oddly though, the SQL never changed.
The beginning part of the SQL shows:
SELECT a.ReportDate AS FromDate, b.ReportDate AS ToDate,
a.ReportDate shows up as FromDate, b.ReportDate shows up as ReportDate
Can anyone tell me why?