You can add conditional formatting to the particular fields in question that makes them readonly once the manager has approved it.

Signature
Greg Collins [Microsoft MVP]
Visit Braintrove ( http://www.braintrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )
I understand how you place the conditional formatting but how do you test
whether a button has been pressed? What condition do you test for?
> You can add conditional formatting to the particular fields in question that makes them readonly once the manager has approved it.
Greg Collins [InfoPath MVP] - 19 Feb 2007 17:09 GMT
You add a rule to the button which sets a field value (it can be in a secondary data source), and then have the conditional formatting test the value of that field.
i.e. field: my:IsClicked = false
Click button -> set IsClicked = true
Conditional formatting: if (IsClicked = true) disable button.

Signature
Greg Collins [Microsoft MVP]
Visit Braintrove ( http://www.braintrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )