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!