(Msg. 1) Posted: Fri Nov 16, 2007 9:20 am
Post subject: Problem Seeing Headers... Archived from groups: microsoft>public>excel>querydao (more info?)
If I use the "as" function, the output does not include the "as"
header like it would if I ran the same query in sql. This is
particularly irksome when the column returns a result, like "count",
and the header is blank.
(Msg. 2) Posted: Wed Nov 21, 2007 12:39 am
Post subject: Re: Problem Seeing Headers... [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
I find it works fine unless you go back through the query wizard to
edit the query.
In MSQuery's SQL window I added As XX in the following query
SELECT BillOfMaterial.BomID, BillOfMaterial."Product Number" As PN,
BillOfMaterial.Quantity, BillOfMaterial."Constituent Product" As CP
FROM OPDataSQL.dbo.BillOfMaterial BillOfMaterial
The headers were returned to Excel as PN and CP
On editing the query, MS query had lost the As clauses and I had to add
them again.
Bill Manville
MVP - Microsoft Excel, Oxford, England
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum