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
BedrockMission!

Learn More

View all

Sign in to view all badges

Difference between initialize and click event handling????

Avatar

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

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

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.