problem with variables
I've created a new variable and send data to it from delphi2010 but nothing is printed. What am I doing wrong?
variable name is variable1 and I do it like this:
form1.frxReport1.Variables:=edit7.Text;
in freport [variable1] is in memo1
variable name is variable1 and I do it like this:
form1.frxReport1.Variables:=edit7.Text;
in freport [variable1] is in memo1
Comments
second when passing string values you must use extra string delimiters
read the programmer's manual on working with variables.
1. had to put userdataset to delphi form and set RangeEnd=reCount, RangeEndCount=1 (without this endless number of pages is created)
1a. assign masterdata1.dataset:=frxUserDataSet1
2. in OnGetValue event I did this: form1.frxReport1.Variables:=quotedstr(edit2.Text);
Is this the right way or ?????