Highlighted

Difference between initialize and click event handling????

Avatar

Guest

21-07-2008

Dear Users,



I have a sample form with OLEDB connection to an Oracle 10g Database.

When I place a Button, and in the Initialize event I write the

following line:



xfa.sourceSet.DataConnection.next();



then is everything is OK, and I get to the next record.

However, if I comment it out, and write it to the

Click event, then nothing happens.

What can be the error?



Kind regards,

Gabor Lipovszki

Replies

Highlighted

pguerett

21-07-2008

If you are doing this with Acrobat you can hit Ctrl-J t bring up the javascript console. This console will show you any errors in javascript if there are any.



Make sure the language on the click event is set to Javascript.