Accessing variables from within vbscript button?

  • Thread starter Newbie Programmer
  • Start date
N

Newbie Programmer

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?
 
E

.-=] ExTrEmE [=-.

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top