PC Review


Reply
Thread Tools Rate Thread

Changing the current record for bound controls

 
 
Cato Lommerud
Guest
Posts: n/a
 
      5th Aug 2004
I have a datagrid control that shows the result from an Acces View and I
want to change the current record for other bound controls when the user
clicks in the different rows in the datagrid. Since the datagrid only
contains a subset of the possible current records for the bound controls.

Since the datagrid only shows a subset of the records, I can't use the
current row as the position in the binding context, but I have the primary
key easely accessible. Is there a way to get position when you know the key
to a table or must I cycle through each record and checking for a match?

Cato


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sync databound combobox to current bound record in form dbuchanan Microsoft Dot NET Framework Forms 6 2nd Feb 2006 11:42 PM
Sync databound combobox to current bound record in form dbuchanan Microsoft Dot NET 6 2nd Feb 2006 11:42 PM
Sync databound combobox to current bound record in form dbuchanan Microsoft VB .NET 6 2nd Feb 2006 11:42 PM
Adding record with controls bound in code Greg Microsoft VB .NET 6 13th Apr 2004 04:31 AM
Add new record using bound controls on windows form Paul Edwards Microsoft Dot NET 2 23rd Oct 2003 04:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:21 PM.