Accnt::GetBalance (Interface: Accnt)
 
Gets the balance of this Account.
 
DOUBLE GetBalance (
    BSTR bsAccNum
)
 
Parameters
bsAccNum
[in] The account number of which you want to know the balance.
 
Return value
A DOUBLE containing the balance of the given account number.
 
See Also
CreateAccnt
 
Samples
 
C++
 
// Get the balance of the general account with number = '100'
double lfBalance = pAccnt->GetBalance ("100");

C#
 
// Get the balance of the general account with number = '100'
double lfBalance = oAccnt.GetBalance ("100");

VBS
 
' Get the balance of the general account with number = '100'
Dim lfBalance
lfBalance = oAccnt.GetBalance ("100")

VB.NET
 
' Get the balance of the general account with number = '100'
Dim lfBalance As Double
lfBalance = oAccnt.GetBalance ("100")