79427249

Date: 2025-02-10 13:47:11
Score: 1
Natty:
Report link

If you're trying to get a specific column value, as I was trying to do one of these days, you can do it using this line:

    procedure TFrmTabelas.DBGrid1CellClick(Column: TColumn);
begin
  var = DBGrid1.DataSource.DataSet.FieldByName('column_name').As_VarType_;
 
end;

If anyone else knows a better way, I'm open to check it out.

Reasons:
  • Blacklisted phrase (0.5): check it out
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Matheus Galasso