Hello
I'm using Excel 2003.
I am trying to concatenate fields in MS-Query and it isn't working. Below is the code I have with the DxGrp and DxName in separate columns but I wish to concatenate in one field:
Note that the "external data source" is actually a worksheet in the same workbook.
Thanks very much.
I'm using Excel 2003.
I am trying to concatenate fields in MS-Query and it isn't working. Below is the code I have with the DxGrp and DxName in separate columns but I wish to concatenate in one field:
Code:
SELECT `ChartList$`.DxGrp, `DxGrpNames$`.DxGrpName, Sum(`ChartList$`.death) AS 'Deaths', Sum(`ChartList$`.Prob) AS 'ProbDeath'
FROM {oj `ChartList$` `ChartList$` LEFT OUTER JOIN `DxGrpNames$` `DxGrpNames$` ON `ChartList$`.DxGrp = `DxGrpNames$`.diag_flag}
GROUP BY `ChartList$`.DxGrp, `DxGrpNames$`.DxGrpName
Note that the "external data source" is actually a worksheet in the same workbook.
Thanks very much.