Asda Posted August 2, 2007 Share Posted August 2, 2007 I'm sure this has been covered here earlier, just cant seem to find it. I would like to know the techniques possible for triggering autoenter fields to evaluate. Thanks! Link to comment Share on other sites More sharing options...
Genx Posted August 2, 2007 Share Posted August 2, 2007 Let( [x = SomeTriggerField; y = SomeTriggerField; z = SomeTriggerField]; Your calc here ) Evaluate( "Your Calc Here" ; [someTriggerFieldHere;SomeTriggerFieldHere;SomeTriggerField]) Link to comment Share on other sites More sharing options...
Asda Posted August 2, 2007 Author Share Posted August 2, 2007 Tks GenX. I'm already using Let in my calc, so this way I will end up nesting Let statements. (is that a no no ?) Link to comment Share on other sites More sharing options...
Genx Posted August 2, 2007 Share Posted August 2, 2007 No, there's nothing wrong with nesting but in this case (and there are few times when nesting a let statement is actually necessary)... Just add the trigger fields to your list of variable definitions: Let( [ valueOne = 5; valueTwo = 10; x = SomeTriggerField; y = SomeTriggerField; z = SomeTriggerField ]; valueOne + valueTwo ) Link to comment Share on other sites More sharing options...
comment Posted August 2, 2007 Share Posted August 2, 2007 You can add them all together: Let ( [ trigger = SomeField & AnotherField & YetAnotherField ; yourVariable = .... ... ] ; < calc result > ) Link to comment Share on other sites More sharing options...
Genx Posted August 2, 2007 Share Posted August 2, 2007 Oh right - didn't occur to me. Cheers. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6247 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now