getRecord enhancement

Hello,

I have this code to retrieve a columns of any record given a form name:

// get a record
var record = forms[someForm].foundset.getRecord(1);
// get its fields
var fieldArray = new Array();
var counter = 0;
for (var i in record) 
{
    fieldArray[counter] = i
    counter ++;
}

While this works great, it does not give me access to the calculations of the record. This is strange, since record[someCalc] will return the contents of the records calculation…

Could something be done/enhanced about this?

Thanks
Patrick