AnsweredAssumed Answered

Scripting on layout enter to change containers based on a variable.

Question asked by jammocash on Mar 2, 2018
Latest reply on Mar 2, 2018 by philmodjunk

Essentially I have two signature containers. I want to change, on layout enter, between them based on a variable made from a button script from a previous layout. The variable comes from which tab in a tab control is active. Any ideas Community?


I am currently trying to use the attached script for my button. On layout enter I assume it'll be something like


"If variable = 1

Set Field [BillHeader::Sig1; BillHeader::Sig1]

Else If variable = 2

Set Field [BillHeader::Sig1; BillHeader::Sig2]

End If"


Thanks ahead for all your help guys!