D
Dimitris Nikolakakis
I have the following qry:
SELECT [OrdersTx].[OrderNo],
LTRIM(Format([OrdersTx.StorageItem],"@@@@@@@@@@@@@@@@@@@@")) AS StorageItem,
[OrdersTx].[Quantity]
FROM OrdersTx
WHERE [Forms]![FOrders]!OrderID=[OrdersTx].[OrderNo] And
[OrdersTx].[typeID]="ORD";
and I have a button on the form FOrders that:
DoCmd.OutputTo acOutputQuery, "qOrder_XLS(IRWIN)", acFormatXLS,
"c:\order.xls", 0
For at least one time it works, but in a very strange way after some times I
get error after I press the button that there is
no field in the qry. I open the qry in design and I see no field. I have to
rewrite it and save it.
What can I do?
thanks
SELECT [OrdersTx].[OrderNo],
LTRIM(Format([OrdersTx.StorageItem],"@@@@@@@@@@@@@@@@@@@@")) AS StorageItem,
[OrdersTx].[Quantity]
FROM OrdersTx
WHERE [Forms]![FOrders]!OrderID=[OrdersTx].[OrderNo] And
[OrdersTx].[typeID]="ORD";
and I have a button on the form FOrders that:
DoCmd.OutputTo acOutputQuery, "qOrder_XLS(IRWIN)", acFormatXLS,
"c:\order.xls", 0
For at least one time it works, but in a very strange way after some times I
get error after I press the button that there is
no field in the qry. I open the qry in design and I see no field. I have to
rewrite it and save it.
What can I do?
thanks