Pass variable to fastreport 3.03
In the C++Builder 6 projects I use Variables to pass to fastreport 3.03,
I try 2 methodes :
But, I'm try with this method and d'ont work.
Error message :
Error i expression, Undeclared identifier "COMP"
The same with the second methodes.
Error i expression, Undeclared identifier "DT1"
I try 2 methodes :
DModule->frReport1->Variables->Variables["COMP"]="Title of report"; //Exple : "The Castumers"
and this :
DModule->frReport1->Variables->AddVariable("MYVAR","DT1",xDt1); //Date
But, I'm try with this method and d'ont work.
Error message :
Error i expression, Undeclared identifier "COMP"
The same with the second methodes.
Error i expression, Undeclared identifier "DT1"
Comments
you m7ust use extra delimiters when passing string values.
frxReport1.Variables := '''' + 'test' + '''';
also please note you are postiing in the wrong forum, you should be in the fr3 forum.
I'l try this solutions
the same message error?
I developpe in C++Builder 6
Please help me.
I have tried to add the following line of code but it does not work:
strOutput = <input type=hidden name=custom_ strFooter value= fields4 >;
This is what is in the nopcart.js
if PaymentProcessor == pp
//Process hidden values for PayPal.
strOutput = <input type=hidden name=item_number_ strFooter value= fields0 >;
strOutput = <input type=hidden name=quantity_ strFooter value= fields1 >;
strOutput = <input type=hidden name=amount_ strFooter value= fields2 >;
strOutput = <input type=hidden name=item_name_ strFooter value= fields3 >;
if i == iNumberOrdered
strOutput = <input type=hidden name=shipping_ strFooter value= strShipping >;
else
strOutput = <input type=hidden name=shipping_ strFooter value=0.00>;
strOutput = <input type=hidden name=on0_ strFooter value= fields5 >;
Has anybody got an idea on what I need to do?
Many thanks