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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DataGrid and Current Record

Status
Not open for further replies.

mans

Programmer
Joined
Mar 18, 2000
Messages
136
Location
AU
Hello,

I am using VB6 SP4 with Access2000. I have 3 objects, DataGrid2, Adodc2 and Text2. Each time a user clicks in the above grid with a mouse or by scrolling with the adodc2 object, I would like Text2 to display the record that is highlighted each time (there is only one field).

Can somebody please let me know what code I should use to allow this.

Thank You
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top