L
Lynn Trapp
I just noticed something that I have never observed before. When writing an
SQL query in A2007, if the field name of the table has the Caption property
set to some value, the caption property will display as the column name even
if I add an Alias for the field name. For example, if I have a field named
strPhone with a caption property of Phone 1 it will display as Phone 1 even
if I write the following query with an Alias.
SELECT strPhone As Contact
FROM MyTable;
I don't have an earlier version of Access available to me at the moment and
I'm wondering if this has always been the case or is it something new in
A2007. To my mind the Alias in the SQL statement should win out over the
caption property.
SQL query in A2007, if the field name of the table has the Caption property
set to some value, the caption property will display as the column name even
if I add an Alias for the field name. For example, if I have a field named
strPhone with a caption property of Phone 1 it will display as Phone 1 even
if I write the following query with an Alias.
SELECT strPhone As Contact
FROM MyTable;
I don't have an earlier version of Access available to me at the moment and
I'm wondering if this has always been the case or is it something new in
A2007. To my mind the Alias in the SQL statement should win out over the
caption property.