FormCode.vb not getting compiled

S

srinivas

FormCode.vb is the codebehind for my Infopath form. I have a control
(checkbox) on my form. I add a event handler (OnBeforeChange) to this
checkbox and the code is written to my FormCode.vb . I then save the Infopath
form and Publish it. But the event does not get fired. I debugged the
FormCode.vb to find that the debugger is debugging the commented lines. This
means my changes (Event HAndler) to FormCode.vb does not reflect in the newly
Published Infopath.

Can you tell me whether I am missing any step in Building/Compiling the
Infopath project ? Or why is the debugger debugging the commecnted lines ?

Thanks in advance
 
K

kalisin

Hi

Have you simply tried to use a rule for your checkbox? Using rules
usually gives me more flexibility than data validation events..(in
certain cases) Do you have the Rules tab when you go to properties of
your text box?
 
K

kalisin

Hi

Have you simply tried to use a rule for your checkbox? Using rules
usually gives me more flexibility than data validation events..(in
certain cases) Do you have the Rules tab when you go to properties of
your text box?

Kalimukwa
 

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