Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
If you can't
login and post questions or you are having trouble viewing forum posts:
Click Here
|
Callback
Support |
If you live in USA, UK, Canada, Australia or New
Zealand, you can leave us details on your question and request us to call you back and discuss
them with you personally (charges apply). |
Click Here
|
Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
|
How to retrieve Account balance |
Author |
Message |
|
Posted : 2007-11-13 10:56:49 |
How can I retrieve the account balance as shown in this screen shot of QB. I tried using Account table: Select * from Account, but it does not give me the correct balance. Thanks! |
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2007-11-13 14:13:31 |
Try doing:
SELECT Name, accounttype as Type, totalBalance as "Balance Total" FROM Account calldirect
Calldirect bypasses the optimized table so the balance will always be correct as can be seen here:
|
|
|
|
|
Posted : 2007-11-14 02:19:40 |
Thanks, Tom. It worked like a charm. |
|
|
|
|