- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
In short I have a forum which sucessfully gets the first record from the DataConnection. The problem is I seem to only be able to get the first record and cannot navigate to other records.
I have added a NEXT button, set up for JavaScript, Client, on Click with the common xfa.sourceSet.DataConnection.next(); code, however when previewing the form (still within LiveCycle) even though I can sucessfully pull the first record from my table, clicking the 'NEXT' button does nothing at all, not even an error.
Any suggestions on what I am missing?
Other Info:
-I am using a MS Access database (.mdb format) with the Microsoft Access Database driver.
-I tried using both User and System DSN's in windows which I am calling when setting up the Data Connection.
-When configuring my DSN's the tests always succeed (and I can call the first record).
-Setting up the Data Connection in Adobe seems to work and shows all of the possible fields in my table.
-I bind my fields to the form, preview it, and see the first record in my table.
-I can add many types of buttons that work, such as printing, emailing, or changing pages of the form, but anything related to database record navigation is not working.
-I am positive that when I call xfa.sourceSet.DataConnection.next() that the 'DataConnection' name is matching exactly my actual Data connection.(seems to be a common problem for people)
-I've followed about 3 different tutorials exactly and they seem easy to go through, but when they add their Next button it works fine. Mine doesn't.
-I've tried starting from a new, blank project as well but cannot change records.
-I've even tried adding or removing the semicolon at the end of: xfa.sourceSet.DataConnection.next();
What am I missing? Is there something potentially wrong with my data connection even though it seems to work?
Thanks.
-Mike
Views
Replies
Total Likes