AnsweredAssumed Answered

Hard coded tables for my Variables = My enemy!

Question asked by Matty_1 on Jul 29, 2011
Latest reply on Aug 22, 2011 by philmodjunk

Title

Hard coded tables for my Variables = My enemy!

Post

Hi there,

I'm currently in the process of setting up a script which pulls a contract number from a field named "ContractNUMBER"  I want to use one script for my button and not have to hardcode the layout name each time I want to pull the data from the field.  I thought a simple Set Variable would do the trick but my code isn't working.  any ideas?

Here's what I put:

Name: $CurrentFileName

Calculation:  Get ( LayoutName ) & "::ContractNUMBER"

/* Instead of Sales_Contract::ContractNUMBER */

Repition: 1

What am I missing?

Outcomes