Create a new fieldAttribute(named buttonStatus) which stores the boolean as True and False(default False) and set conditional formatting for the button as follows
"buttonStatus is equal to TRUE" enable the checkbox "Disable this Control" and click ok and write code to set the value of this attribute to True
button gets disabled
Shekar
http://www.ggktech.com