Math in multiple fields on the same record

Hi guys,

I have a data base structure where there is 8 fields as doubles and one text field.

When I query the records, I would like to calculate an average of the 8 fields.

I tried to create a new variable starting with 0 and set up a function stack to add numbers. When I put the value to be added like db.field I got an error message telling that the field should be a number.

I'm not sure if I'm the right field notation. What I need to add the information store in the field.

Any clue on what I'm doing wrong?

Thanks

Gustavo

Other
5 replies