Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Difference between initialize and click event handling????

Not applicable
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
1 Reply
pguerett
Level 10
Level 10
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.