1 (edited by hadjieff 2018-01-07 13:39:20)

Topic: Salary - advance = cash

Salary / advance / cash
800 / 500 / 300
-----

Post's attachments

Attachment icon 1.JPG 17.49 kb, 170 downloads since 2018-01-07 

Re: Salary - advance = cash

Hello Hadjieff,
You could use a calculated field for this (see attachment and screen shot (calculated field.jpg)).
Derek.

Post's attachments

Attachment icon hajieff.zip 414.69 kb, 347 downloads since 2018-01-07 

Re: Salary - advance = cash

Thanks...
how footer report sum...

Post's attachments

Attachment icon Снимок.JPG 24.95 kb, 277 downloads since 2018-01-08 

Re: Salary - advance = cash

hadjieff wrote:

Thanks...
how footer report sum...

Check it out

Post's attachments

Attachment icon hajieff_fixed.zip 5.91 kb, 349 downloads since 2018-01-08 

Dmitry.

Re: Salary - advance = cash

thanks....
How disable column resize...?

Re: Salary - advance = cash

hadjieff wrote:

thanks....
How disable column resize...?

You can do it using script and event OnChange
Example:


procedure Form1_TableGrid1_OnChange (Sender: TObject);
begin
    // for first column    
    Form1.TableGrid1.Columns[0].Width := 100;
    Form1.TableGrid1.Columns[0].Options := Form1.TableGrid1.Columns[0].Options - coFixedSize;

   // for second column 
    Form1.TableGrid1.Columns[1].Width := 50;
    Form1.TableGrid1.Columns[1].Options := Form1.TableGrid1.Columns[1].Options - coFixedSize;
end;
Dmitry.

7 (edited by hadjieff 2018-01-10 11:40:36)

Re: Salary - advance = cash

сработала....