5 Replies Latest reply on Feb 19, 2013 7:27 AM by philmodjunk

    Object name as find criteria

    symbister

      Title

      Object name as find criteria

      Post

           Hi

           I have several buttons on the layout, one for each user of the company credit card, for them to enter the Account and Job details on each record of card transactions (previously uploaded from bank export). What I'm trying to achieve is a generic script that picks up the button object name, and uses this as a find criteria. 

           So that button named and labelled Leigh will find her records, prompt her to enter the details, she then clicks done to go back to menu layout, her button has a tick beside it and next person does their bit ...

           I've experimented with Get(ActiveLayoutObjectName) to be returned as a Script Parameter, but this appears to only return the object name when it has focus - not when it is clicked.

           any ideas welcome