Could Make a small lesson how we can use Fast Report
Because I tried all the day and I not Understood how make a simply report ( List od Articles)
thanks
when I press on Preview of Print the page was white and with no report!!!
I made this prg to open fastreport designer and set the work area
- Code: Select all Expand view RUN
- #include "FastRepH.ch"
PROCEDURE main
DataDir := CurDrive() +":\"+ CurDir() + '\DATA'
ResDir := CurDrive() +":\"+ CurDir() + '\LANGRES'
USE ARTICOLI
FrPrn := frReportManager():new()
FrPrn:LoadLangRes(ResDir +"Italian.xml")
FrPrn:SetIcon(2)
FrPrn:SetTitle("test silvio")
FrPrn:SetWorkArea("ARTICOLI", 1 )
FrPrn:DesignReport()
FrPrn:DestroyFR()
QUIT
RETURN