variants
when I use a variable
i can disign it in the desiger and set a value such as
<frxdbdataset1."fields1">+<frxdbdataset1."fields">
but i want to change it at runtime
eg.
frxreport1.variables := 'frxdbdataset1."fields1"' + 'frxdbdataset1."fields2"'
but it report a error
it's ok in fr2.4
how can i set it ? or if have some space between the both of the fields like as 'fields1 fields2'
i can disign it in the desiger and set a value such as
<frxdbdataset1."fields1">+<frxdbdataset1."fields">
but i want to change it at runtime
eg.
frxreport1.variables := 'frxdbdataset1."fields1"' + 'frxdbdataset1."fields2"'
but it report a error
it's ok in fr2.4
how can i set it ? or if have some space between the both of the fields like as 'fields1 fields2'
Comments
and add extra apostrope's where needed, remember delphi strips them when passing.