I have this query
This query shows the correct data.
If I select External Data -> Export To Excel I receive the following error.
too many fields defined.
If I delete p.DrawingName from query, export to excel works without any error.
If I substitute p.DrawingName with any other fields, again the same error shows up and export fails.
Both tables are linked table to sql server.
The query shows 252 records if double clicked and opened.
From Excel I can import the query without any problem.
Is there any limitation on the number of fields when exporting a query to Excel?
Thanks.
SQL:
SELECT
UnitPrice*Quantity AS Price,
o.Delivery,
o.ReID,
p.DrawingNo,
p.DrawingName
FROM
tblOrders AS o INNER JOIN tblProducts AS p
ON o.OrderProductFK = p.ProductPK
WHERE
UnitPrice*Quantity>1000000
AND o.Delivery>#10/30/2023#
AND o.SetName Is Null
AND o.OrderedFrom_FK=268
ORDER BY
UnitPrice*Quantity DESC
;
This query shows the correct data.
If I select External Data -> Export To Excel I receive the following error.
too many fields defined.
If I delete p.DrawingName from query, export to excel works without any error.
If I substitute p.DrawingName with any other fields, again the same error shows up and export fails.
Both tables are linked table to sql server.
The query shows 252 records if double clicked and opened.
From Excel I can import the query without any problem.
Is there any limitation on the number of fields when exporting a query to Excel?
Thanks.