Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am having problem with QueryTables.Add as follow .... strSQL = "Select STRING1, NUMBER1, STRING2 from myTable" Set rs = cn.Execute(strSQL) .... Set qTable = ActiveSheet.QueryTables.Add( rs, RangeStart) .... I only see STRING1, STRING2 columns. NUMBER1 column is missing. However, If I change the strSQL to: Select STRING1, DIGITS(NUMBER1), STRING2 from myTable (where DIGITS is an AS400 SQL function to convert number to string) Then I can see all 3 columns. Is there any QueryTable property that I need to change, so I can get all column without converting anythign to string. Thanks in advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
missing column | Excel Discussion (Misc queries) | |||
Help - Column D is missing. | Excel Worksheet Functions | |||
Display missing Part Number if Column A does not match column B | Excel Worksheet Functions | |||
QueryTables Add | Excel Programming |