Hi,
I would run your automation script from an attribute launch point. See it to the object and attribute of field A to run on validation. Then when you click off field A, it will run and populate field B.
------------------------------
David Shaw
EAMS Developer
DP World Southampton
Southampton
02380 706379
------------------------------