S
Simon
Can any ne see what is wrong with this union Query
SELECT tblorderProduct.[Quantity] AS Quantity,
tblorderProduct.[ProductID] AS IDNumber,
tblorderProduct.[TotalExVAT] AS Total,
tblorderProduct.[Date] AS Date,
'tblorderProduct' AS TheType
FROM tblorderProduct
UNION ALL SELECT tblorderProductsWS.[Quantity] AS Quantity,
tblorderProductsWS.[IDNumber] AS IDNumber,
tblorderProductsWS.[Date] AS Date,
tblorderProductsWS.[Total] AS Total,
'tblorderProductsWS' AS TheType
FROM tblorderProductsWS
Error Message
The SELECT dtatment includes a reserved word or an argument name that
is misspelled or missing or the ounction is incorrect
Thanks
Simon
SELECT tblorderProduct.[Quantity] AS Quantity,
tblorderProduct.[ProductID] AS IDNumber,
tblorderProduct.[TotalExVAT] AS Total,
tblorderProduct.[Date] AS Date,
'tblorderProduct' AS TheType
FROM tblorderProduct
UNION ALL SELECT tblorderProductsWS.[Quantity] AS Quantity,
tblorderProductsWS.[IDNumber] AS IDNumber,
tblorderProductsWS.[Date] AS Date,
tblorderProductsWS.[Total] AS Total,
'tblorderProductsWS' AS TheType
FROM tblorderProductsWS
Error Message
The SELECT dtatment includes a reserved word or an argument name that
is misspelled or missing or the ounction is incorrect
Thanks
Simon