WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Problem Seeing Headers...

 
   Home -> Office -> Query DAO RSS
Next:  autorefreshing query table (Excel 2000)  
Author Message
calibansfolly

External


Since: Nov 16, 2007
Posts: 1



(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.

I'm using excel 2003 to query a sql database.

Anyone encountered this? Got any tips?

-Brian
Back to top
Login to vote
Bill Manville

External


Since: Jul 30, 2004
Posts: 669



(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
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Query DAO 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
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET