Hi, I've gone over the examples multiple times now and still get nada. No result, no anything, so I'm having a bit of a heyday trying to figure out where I went wrong. I'll post what I have so far, and I know it's screwed up, I just can't for the life of me figure out how though. I'm under the impression I need a attribute line, but I have no idea what to put in it :/ on('change:repeating_gear', function () {
TAS.repeatingSimpleSum('gear', 'gearweigh', 'gearweighttotal')
.fields('gearweigh', 'gearweighttotal', 'gearqty')
.reduce(function(m,r){
m.gearweigh+=(r.F.gearweigh*r.I.gearqty);
r.D[2].gearweighttotal=(r.F.gearweigh*r.I.gearqty);
return m;
}, {weight:0},function(m,a){
a.D[2].gearweighttotal=m.gearweigh;
})
.execute(); I've checked it over for spelling and consistency, but, beyond that, I'm lost.