Displaying 1 result from an estimated 1 matches for "total_ammount".
2006 Jul 05
2
get value from array.
hi,
Im running the following sql statment which returns 1 result.
 pSql = "SELECT sum(amount)
                        FROM payments
                        WHERE expected_pay_date LIKE ''"+pWholeDate+"%''
                        AND invoice_id IS null "
 aResult = Payment.find_by_sql(pSql)
how can I get the result of this?
(when doing @aResult.inspect it