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'

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 6:22AM
    when passing in from delphi make sure you include the <> around the datafield
    and add extra apostrope's where needed, remember delphi strips them when passing.
    ;)

Leave a Comment