Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple Databinding Question

Status
Not open for further replies.

RocAFella2007

Technical User
Mar 21, 2007
45
GB
Hi, I have the following coding which is pretty much simple.

dbindingmanager.Position += 1

The above code just moves on to the next record, if i swapped the number 1 with 2, the result would be obvious it would move 2 records ahead. Is there a way in which you could move to a certain record ahead, for example If I have a textbox with certain text and i wanted the code above to move on to the next item which is identical to the textbox, is that possible?

Thanks
 
I haven't used the currency manager or any of that stuff in ages, but I would look for a .find, .search, or .filter method on it. If there isn't one, just put the position increment into a loop and keep going until you find the value you are looking for.

-Rick

VB.Net Forum forum796 forum855 ASP.NET Forum
[monkey]I believe in killer coding ninja monkeys.[monkey]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top