1 (edited by v_pozidis 2018-05-04 09:20:31)

Topic: Insert in a report file the value from an Edit Box which is in a Form

Hi all,
how can I insert in a report file the value from an Edit Box which is in a Form, or from a variable

Re: Insert in a report file the value from an Edit Box which is in a Form

Hello.


check out this example
http://myvisualdatabase.com/forum/misc. … download=1

Dmitry.

Re: Insert in a report file the value from an Edit Box which is in a Form

Ok with the variables but how can i do that by using the values from an editbox.

Re: Insert in a report file the value from an Edit Box which is in a Form

In the example, value from an editbox going to report using variable

var
    s: string;
begin
    s := Employees.Edit1.Text;
    Employees.frxReport.Variables['Value from Edit1'] := ''''+s+'''';
Dmitry.

Re: Insert in a report file the value from an Edit Box which is in a Form

thank you.