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
Likes given to
Likes from