Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to have this SQL startement with DAO?
Message
From
17/07/2000 01:08:12
 
 
To
All
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Title:
How to have this SQL startement with DAO?
Miscellaneous
Thread ID:
00393104
Message ID:
00393104
Views:
44
Hi,
I need to query with the SQL statement as below. However, i get error message if using DAO, it is fine if I am using DataEnvironment. Why?
SELECT SUM(TTotal), SUM(PTotal) 
FROM 
   (SELECT SUM(addlog.tran_bal) AS TTotal, 
    SUM(0) AS PTotal 
    From Addlog Union 
         SELECT SUM(0) AS Total, 
            SUM(eftlog.tran_bal) AS PTotal 
            FROM eftlog)
Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Next
Reply
Map
View

Click here to load this message in the networking platform