columnheadings

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can i use visual basic editor to change the columnheadings setting of a "cross query"?
I tried,
myQuery.columnheadings = "fields1
but it seems not ok......
 
Hi,


You edit the SQL text, it is in the IN list in the PIVOT clause:


" TRANSFORM.... PIVOT expression IN('a', 'b', 'c' ) ; "

has the 'fixed' columns a, b and c




Hoping it may help
Vanderghast, Access MVP
 
Currentdb.QueryDefs("qxtbYourQuery").SQL ="what ever pivot whatever"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top