AnsweredAssumed Answered

If statement???

Question asked by shuey79 on Oct 19, 2009
Latest reply on Oct 19, 2009 by shuey79

Title

If statement???

Post

How can I set 2 or more fields/variables based on an if statement: if (field1>=5) field2=.25, variable2=.005 else field2=0, variable2=0 end if.

I can enter this into the scriptmaker but not in the field calculations scripting. Its of no use to me in the script maker because I don't know how to call that script from the field1's lost focus event (if there is one). I am use to .net and java so filemaker scripting is a bit new to me.

 

Could someone please help????

 

Outcomes