Topic: Total Sum from tablegrid in textbox

It is possible to automatically calculate the total value of column6 of the tablegrid in the textbox

Tablegrid have some filters.

Re: Total Sum from tablegrid in textbox

amsjunior1 wrote:

It is possible to automatically calculate the total value of column6 of the tablegrid in the textbox

Tablegrid have some filters.

Hello amsjunior1,


try this procedure on event:


begin
    frmMain.Edit1.Value := frmMain.Tablegrid1.columns[5].Footer.Formulavalue; 
end;

Re: Total Sum from tablegrid in textbox

thanks work perfect

4 (edited by agusecc 2019-06-22 03:39:45)

Re: Total Sum from tablegrid in textbox

Hello, Any body please help me...
I have problem with my project...  when I will edit data I get problem....
because i import data with SQLITE MANAGER ....
If data record from input in the form  result, this is not problem...

thanks you ....

Post's attachments

Attachment icon problem when edit data.PNG 93.11 kb, 201 downloads since 2019-06-22 

Re: Total Sum from tablegrid in textbox

Please attach your project with data, I'll check it.

Dmitry.

6 (edited by agusecc 2019-06-28 15:42:55)

Re: Total Sum from tablegrid in textbox

thanks, I have finished problem... I import record data with MVD 5.4 ... excellent..

but now I have other problem when I compile my project with inno setup compiler... and run aplication with windows 7,8,or 10  we have warning InnifileException.
help me please

Post's attachments

Attachment icon innifileexception.PNG 141.57 kb, 150 downloads since 2019-06-28 

Re: Total Sum from tablegrid in textbox

agusecc wrote:

thanks, I have finished problem... I import record data with MVD 5.4 ... excellent..

but now I have other problem when I compile my project with inno setup compiler... and run aplication with windows 7,8,or 10  we have warning InnifileException.
help me please

Check out this topic
http://myvisualdatabase.com/forum/viewtopic.php?id=3174

Dmitry.

Re: Total Sum from tablegrid in textbox

thanks Dmitry...  excellent..