Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

math operations 1

Status
Not open for further replies.

justfreakingout

Programmer
Jun 3, 2014
5
PT
Hi,

I am trying to make some calculations on a table but I am not being successfull.


All I want is to sum Row1 with Row2 and save the result in Row3.

Any suggestions?

Thx!
 
Thx Jim C., Almost there.

So I am using:

function table_onOpen
use table
REPL ALL A5 WITH (A2 + A4)
return

but all it does is replacing the A5 with the values in A2 :s
 
At first I was confused, usually we refer to each record as a row but once I realized you were talking about columns then it all fit together well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top