Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
I have a workbook with several ODBC queries from another Excel workbook. The queries differ by WHERE condition. In general, query syntaxes are like SELECT a.field1, a.field2, SUM(a.field3) AS 'Field3' FORM `Drive:\Path\SourceWorkbook`.SourceTable a WHERE .... GROUP BY a.field1, a.field2 ORDER BY a.field2, a.field1; My problem is, that for some queries AS fieldname part is working, i.e. in return table the header for 3rd column is 'Field3', and in query window I can activate from menu RecordsEditColumn, for some of then sometimes isn't. When I close query window for such query, the query syntax changes to SELECT a.field1, a.field2, SUM(a.field3) FORM `Drive:\Path\SourceWorkbook`.SourceTable a WHERE .... GROUP BY a.field1, a.field2 ORDER BY a.field2, a.field1; in return table the column header will be Expr####, and RecordsEditColumn in query wizard menu is disabled. Has someone some plausable explanation for such behaviour. And how to mend it? Thanks in advance! Arvi Laanemets ( My real mail address: arvi.laanemets<attarkon.ee ) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to create a calculated field from another calculated field? | Excel Discussion (Misc queries) | |||
Calculated fields in pivot tables | Excel Worksheet Functions | |||
Using a MIN, MAX formula on a calculated field in a pivot table | Excel Discussion (Misc queries) | |||
Excel2000 ODBC query oddity | Excel Discussion (Misc queries) | |||
Winn98SE, Excel2000: ODBC query opens the source workbook | Excel Discussion (Misc queries) |