Hi
I ave this code
-------------------------------------
CREATE TABLE [#T184026YZ]
(
[KeyRigo] FLOAT NOT NULL,
........ other fields .........
[Quantita] FLOAT NULL,
[PrzTot] FLOAT NULL,
)
SELECT SUM(Quantita) as TotQuantita ,SUM(PrzTot) as TotValore
FROM "#T184026YZ"
-----------------------------------
if the FetchAll property of TMSQery is True the code is Ok
if FetchAll=False I ave the error "Invalid object name 'T184026YZ'
In this case I open all table and query of the application with FetchAll=false.
Best Regards
Basilio
Temporary table with FetchAll=False
-
AndreyZ