Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, there,
I am trying to combine two sheets together by join a common id. If I pull some of the fields it works fine but if I want to pull all the fields from both sheets I didn't get any data. How many fields can I include in MS query? Thanks for your help. Ava |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ava
My guess is 256 combined fields. I couldn't reproduce the problem with a small number of fields, but if you want to post your SQL statement, maybe something will jump out. You can edit the query in MSQuery and click the SQL button to get the statement, or you can go to the VBE (Alt-F11), then to the Immediate Window (Cntl-G) and type ?Sheet1.QueryTables(1).CommandText replace Sheet1 and 1 to get the correct External Data table. -- Dick Kusleika MVP - Excel www.dicks-clicks.com Post all replies to the newsgroup. "Ava" wrote in message ... Hi, there, I am trying to combine two sheets together by join a common id. If I pull some of the fields it works fine but if I want to pull all the fields from both sheets I didn't get any data. How many fields can I include in MS query? Thanks for your help. Ava |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Convert hard coded query criteria to Parameter Query | Excel Discussion (Misc queries) | |||
Excel 2007 / MS Query - editing existing query to another sheet | Excel Discussion (Misc queries) | |||
Importing Data via Web Query - Can values be passed to query? | Excel Discussion (Misc queries) | |||
Microsoft Query rejects "nz" function in Access Query | Excel Discussion (Misc queries) | |||
How to use a Access Query that as a parameter into Excel database query | Excel Discussion (Misc queries) |