SetField [ TableA::T2 ; 17 ]
Select the field via the top "Specify..."
Type "17" (without the quotes) into the calculation window from the bottom "Specify..."
FMP will put the syntax in for you.
Ninja: I tried your solution and still cannot get the field input to change. I made sure I was linking the button to the proper script and that I am in browse mode. Any other suggestions?
Let's check the obvious ones first ...
What table is your layout based on? ...I have assumed it is based on TableA.
If your layout is based on another, related, table...is this a one to many relationship?
Actually I don't think this would make much difference, as long as the field you're changing is currently showing.
Does your script step look like mine in all respects (ie. not Insert Text or Insert Calculated Result)?
Does it have the semicolon now with no "=" sign ?
What field type is your T2 field? (Text, number, calculation...)
Is your script running with FullAccess privileges (box at bottom in ScriptMaker) ?
I missed the semi-colon - but how do I get the semi-colon in the script? When I type the semi-colon the an error message pops up saying that "an operator (e.g. +,-,*,...) is expected here." I am clearly missing a step in getting your suggested fix in place.
Ninja: I figured out what I was doing wrong; your first answer was right on target - many thanks!