>Hi All:
>
>What is the easiest way to add a bunch of variables to a report by hacking the FRX?
>
>I have ten variables, all beginning with c_. I want add another 10, prepending them with v_ and have the totalling break on a different group.
>
>I'm lazy to do this 'by hand'.
>
>Thanks,
>
>Yossi
Yossi,
Make a copy of the current report, browse the report as a table, find a record with one of the c_ variables, and then try
scatter memvar memo
m.Expr = strtran(m.Expr, "c_","v_")
m.Uniqueid = SYS(2015)
insert from memvar
If the report will work after that, just repeat the same process for other variables.
See also
http://weblogs.foxite.com/cesarchalom/archive/2006/05/16/1531.aspx
If it's not broken, fix it until it is.
My Blog