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

dannygeo
dannygeo
Offline

Badges

Badges
5

Accepted Solutions

Accepted Solutions
1

Likes Received

Likes Received
1

Posts

Posts
3

Discussions

Discussions
0

Questions

Questions
3

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by dannygeo
Customize the badges you want to showcase on your profile
Re: Search for and edit single record in database - Adobe LiveCycle 11-02-2013
Here it is:xfa.sourceSet.DataConnection.open();xfa.sourceSet.DataConnection.first(); var oDataConnList = xfa.sourceSet.DataConnection.nodesvar nCount = oDataConnList.length; for (var i = 0; i < nCount; i++){ if (CurrentRecord.rawValue != SearchField.rawValue){ xfa.sourceSet.DataConnection.next(); }}This opens the data connection, makes sure it starts on the first record, counts the number of records and scrolls through each record until it finds the one the user searched for!

Views

75

Likes

0

Replies

0
Re: Search for and edit single record in database - Adobe LiveCycle 11-02-2013
Ok...so I think i can get it to work by doing something like:xfa.sourceSet.DataConnection.open();xfa.sourceSet.DataConnection.first();var oRecordList = ???????????var nCount = oRecordList.length;for (var i = 0; i < nCount; i++){ if (CurrentRecord.rawValue != SearchField.rawValue){ xfa.sourceSet.DataConnection.next(); }}where CurrentRecord is a text field that shows the index of the current record and SearchField is the field where a user enters the record that they are searching for.I think I ju...

Views

73

Like

1

Replies

0
Search for and edit single record in database - Adobe LiveCycle 08-02-2013
I am creating a few forms that access an Access database that will be used to enter data into the database. I am able to open records from the database and scroll through records one at a time and have added features to be able to search for and display a single record. The problem that I am having is when I load a single record and then edit that record, I am unable to save any changes made to the record, in other words, the record doesn't update on the database.I can add new records and edit r...

Views

634

Likes

0

Replies

2
Likes given to
Likes from