dbTalk Databases Forums  

override caption column headings in queries

comp.databases.ms-access comp.databases.ms-access


Discuss override caption column headings in queries in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Phil
 
Posts: n/a

Default override caption column headings in queries - 02-22-2011 , 04:15 AM






I have a table Payments which has a field called "PaymentDate" with it's
caption set to "Payment Date" Here is the SQL
SELECT Payments.PaymentDate AS [Date paid]
FROM Payments;

The querie's column heading is still "Payment Date".
OK, no big deal, but why doesn't the "Date paid" alias override the caption?
Is it a bug?

However
SELECT Payments.PaymentDate
FROM Payments;
with the caption property of the Query field set to "Date paid" works OK.
Does this mean that you can't write an SQL statement to show the column
headings you want if the table caption property is set?

Phil

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.