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

DBGrid Event on selecting a row.

Status
Not open for further replies.

mbu

Technical User
Apr 10, 2004
13
US
My form contains a DBGrid that is link-ed (or Bound-ed) to a DAO Control (Data2). Data2 is a result of a SQL string and the result varies from 0 to n-Rows.

Question-1: What event does it trigger when a single row is selected on the DBGrid?

Question-2: Any idea or a lead on how to extract the specific value ( i.e, specific column) from the selected row?
Normally the following will get the vale of a specific column. I do not know in my case.
Set rst = Data2.RecordSet
X = rst![ColumnName]

Thank you in advance!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top