I am making many calls to the database to lookup various account balances.
For example, to get cash balances I am using (with ADO call):
vSQL = "sp_report TrialBalance show sum(Debit)+sum(Credit) as Cash parameters DateTo = " _ & "{d'" & Format(AsOfDate, "yyyy-mm-dd") & "'}" & ", accountfiltertype = 'Bank'"
Is the balance sheet faster?
Is looking for the total line or label faster?
Is there a particular table I can add up records from/through that would be faster than calling a report? (The table called transaction does not appear to be available to me in the U.S. version.)
Thank you.
|