Postadjust statement

Hello,

I am using the postadjust statement to add a value to a field in a different database. It works as expected but, the field I am posting to is included in another fields formula which is set in the Data Sheet Field Properties panel. The formula is not calculating after postadjust. How can I get it to calculate?

Thanks

Make the other database active and then force the field’s procedure to execute. Then return back to your original database.

setactivedatabase "theOtherDatabase"
runfieldcode "theOtherField"
setactivedatabase ""