S
S
sorry_i_noob2019-06-10 04:04:11
Delphi
sorry_i_noob, 2019-06-10 04:04:11

Delphi DBGrid - how to get data from selected row?

Hello. I made in Delphi DBGrid. I want to make it so that by clicking on a certain button with a row selected in the DBGrid, certain actions are performed. How can I get data from selected row in DBGrid? That is, from the one that the user selected when working with the program.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AntHTML, 2019-06-10
@anthtml

In the Dataset, you need to look for the active row, DBGrid only displays a table
like DBGrid1.DataSource.DataSet.Fields.Fields[i].Value

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question