APPLY TO SELECTION doesn't in trigger ...
Paul Mohammadi (10/27/08 2:18PM)
Pat Bensky (10/27/08 6:59PM)
Paul Mohammadi (10/27/08 2:18 PM)
<948eda980810271118xd504526je49ed52b3e7862b4@...
Pat,
I believe the triggers act in the way of << v11 Transaction. If your
trigger
is returning a value in $0, all your changes inside the trigger are
nullified. Are you returning anything besides 0 once the trigger is
done?
Best
Paul
Pat Bensky (10/27/08 6:59 PM)
<9a70d3970810271159p81d8ffevd36553d402255cb0@...
Achim,
You are absolutely right! I did that and it worked.
Thanks for saving my sanity :)
Pat
2008/10/27 Achim Kruse <Kruse@...
Pat Bensky wrote:
Can anybody see why this doesn't work?
This runs in a method that is called from the trigger for the
Categories
table:
READ WRITE([Table1])
CREATE EMPTY SET([Table1];"lockedset")
QUERY([Table1];[Table1]MainCategoryNumber=$1)
APPLY TO SELECTION([Table1];[Table1]MainCategoryName:=$2)
<snip>
Pat,
I seem to remember that APPLY TO SELECTION sometimes has problems when
called directly with a parameter ($1, $2, ...). Try using a local
variable
instead...
HTH
Achim Kruse
atacama | Software GmbH, Bremen, Germany
Reply to this message
Summary created 10/27/08 at 4:13PM by Intellex Corporation
Comments welcome at: feedback@intellexcorp.com