Working on our existing code base, which has functions declared which compute for example outstanding invoice total due.
Currently the code reads (code was written probably 10 or more years ago and I am migrating it to NGClient and the latest Servoy code base (down from about 5,000 warnings to about 100 now) learning much in the process!
function c_0_30_total_due() {
var vTotal = 0.0;
var relatedFoundCount = databaseManager.getFoundsetCount( advertiser_invoices_self_adv_id));
.....
the related found count code - yields an error: undeclared variable databaseManager - yet when the function is called, the databaseManager is faulted in somehow.
Question: how should the foundset for a CALCULATION be accessed?
Thanks,
Daryl