Need Guidance Please
Publicado: Jue May 05, 2016 7:38 am
Hi All,
It's me again need guidance. How to use harbour side variable in FRH.
trying with following code but unable to add variable to Report Variable list.
Please guide me.
Thanks in advance
Regards
Hemant
Sydney - Australia
MY code
function create_report()
use group shared new
set orde to 1
vCmpName := "ABC Company Pty Ltd" //<<- want to this variable in report
vCmpCity := "Sydney" //<<- want to this variable in report
WITH OBJECT oReport := TFastReport():New()
:AddDbf( "group", { "group->*" } )
:AddVariable("Company", vCmpName)
:AddVariable("City", vCmpCity)
:Create()
:DesignReport()
:End()
END WITH
retu
It's me again need guidance. How to use harbour side variable in FRH.
trying with following code but unable to add variable to Report Variable list.
Please guide me.
Thanks in advance
Regards
Hemant
Sydney - Australia
MY code
function create_report()
use group shared new
set orde to 1
vCmpName := "ABC Company Pty Ltd" //<<- want to this variable in report
vCmpCity := "Sydney" //<<- want to this variable in report
WITH OBJECT oReport := TFastReport():New()
:AddDbf( "group", { "group->*" } )
:AddVariable("Company", vCmpName)
:AddVariable("City", vCmpCity)
:Create()
:DesignReport()
:End()
END WITH
retu