[progress Communities] [progress Openedge Abl] Forum Post: Re: Can I Calculate The Sum Of A...

  • Thread starter Thread starter Aede Hoekstra
  • Start date Start date
Status
Not open for further replies.
A

Aede Hoekstra

Guest
You can't get the sum of a calculated field. I've solved some sort of problem in the following way: Create a trigger on object A which calculates the field based on the related records. var numberOfRatings = #CALC_COUNT.R820158(Rating_Number); var sumRatings = #CALC_SUM.R820158(Rating_Number); return numberOfRatings / sumRatings; And place a trigger on object B which runs the trigger on object A at update/edit/delete

Continue reading...
 
Status
Not open for further replies.
Back
Top