Topic: Add and result
How can i Add from one a tablegrid the values from a certain colum and have the result in a textbox ?
My Visual Database → Script → Add and result
How can i Add from one a tablegrid the values from a certain colum and have the result in a textbox ?
You can get total from footer of TableGrid and then copy it to textbox.
Example:
procedure Form1_TableGrid1_OnChange (Sender: string);
begin
Form1.Edit1.Text := Form1.TableGrid1.Columns[0].Footer.Caption;
end;
I write this nut doesn't do nothing.
Form1.Edit3.Text := Form1.TableGrid1.Columns[3].Footer.Caption;
the values I want to add together are in the columns 3. But I can not get the results.
Can I use this command also in a button and not in the tablegrid1 ?
Please, send me your project to support@drive-software.com
with description.
Dimitry it was my mistake., found the error. Sorry and thank's for your quick response
My Visual Database → Script → Add and result
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi