July 23, 200322 yr I'm trying to get this working for a while but I get stuck on one thing: I run a loop script that sets numbers in a global field: gGlobal = 5 + 8 + 10 +1.5 + 6 (those "+" are optional) How can I sum up these numbers in a calculation? (In this case this would be 30.5)
July 23, 200322 yr Have you tried Insert Calculated Result into a global number field? I'm assuming your gGlobal is a text field, correct?
July 23, 200322 yr Why don't you just update the global field each time a new number is added? Set the global field to itself plus the next number.
July 26, 200322 yr Author Yes, that's the correct answer! Thanks; this is my script: Loop Exit Loop If [TempRecNr02 = TempRecNr01] Go to Record/Request/Page [TempRecNr02] Set Field [_Key, " "] Go to Field [] Set Field [_Key, SS#1::gLoginID & "?" & DateToText(Aanmaakdatum) & "?" & SS#1::gLoginID & " " & DateToText(Aanmaakdatum) & "?" & SS#1::gLogin] Set Field [_Key, Substitute(_Key ; "-" ; "")] Set Field [TempRecNr02, TempRecNr02 + 1] End Loop
Create an account or sign in to comment