Roey Posted October 21, 2003 Posted October 21, 2003 I am adding a new record to a form using bound controls. The datatable that is being used by the form is sorted on one of the columns eg CompanyName How can I move to the newly added record after a reload of the data. Me.BindingContext(dsVendor.Tables("Vendor")).Position = dsVendor.Tables("Vendor").Rows.Count - 1, Integer doesn't work as the dataview has been sorted Quote
*Experts* jfackler Posted October 22, 2003 *Experts* Posted October 22, 2003 Roey, Check this link. Down load the Form1.vb in my post. Let me know if you have questions. Jon Quote
Roey Posted October 22, 2003 Author Posted October 22, 2003 Thanks jfackler but that link isn't working Quote
*Experts* jfackler Posted October 22, 2003 *Experts* Posted October 22, 2003 It's here. http://www.xtremedotnettalk.com/showthread.php?s=&threadid=77866&pagenumber=4 Quote
*Experts* Nerseus Posted October 22, 2003 *Experts* Posted October 22, 2003 Whoops, neither of those work. Try this -nerseus Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.