Other than creating a field on a form. How do you programmatically access a calculation associated with a DATABASE TABLE? Are they considered globals?
example:
/**
*
* @properties={type:6,typeid:36,uuid:"9f1da685-5ef7-44af-b019-29f5cf19b25a"}
*/
function c_0_30_total_due()
{
var vTotal = 0
var recordCount = advertiser_invoices_self_adv_id.getSize();
for (var i = 1; i <= recordCount; i++)
{
var vRecord = advertiser_invoices_self_adv_id.getRecord(i)
vTotal = vTotal + vRecord.c_0_30
}
return vTotal
}
Daryl