I've got an infoPath form with some buttons. I've got an integer
variable (let's call it x) within the InfoPath form that I would like
to set or reference within the code for the button.
Any idea how to do that? For example, how could I set the value of x
to 1 inside the button?
.-=] ExTrEmE [=-. - 05 Mar 2008 14:37 GMT
> I've got an infoPath form with some buttons. I've got an integer
> variable (let's call it x) within the InfoPath form that I would like
> to set or reference within the code for the button.
> Any idea how to do that? For example, how could I set the value of x
> to 1 inside the button?
What do you need to do?
Because could me more simple to use attribute field in form.
You can add an attribute to your form fields (within data source task
pane).. and then add a rule to a button that set up a field value (your
atttribute) when pressed...