Please sample with Fast Report

Please sample with Fast Report

Postby Silvio.Falconi » Sat Nov 03, 2012 7:41 am

I tried Fast Report and I tyhink is not usefull for Us because the user final cannot build report himself and he need allways our job

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


Image


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
#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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Re: Please sample with Fast Report

Postby Otto » Sat Nov 03, 2012 1:46 pm

Silvio,
please post your fr3 file, too.
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: Please sample with Fast Report

Postby Wanderson » Sat Nov 03, 2012 1:52 pm

Hi Silvio,

FrPrn := frReportManager():new()
FrPrn:SetTitle("TEST")
FrPrn:SetWorkArea("CTEINUT", Select("CTEINUT")) // here you put your database
FrPrn:SetResyncPair("CTEINUT")
FrPrn:LoadFromFile("PROG220G.FR3")
FrPrn:DesignReport() // or FrPrn:ShowReport() to not show a design mode
FrPrn:DestroyFR()

In design mode just add bands like title, masterdata, and put your fields in masterdata.
Wanderson
 
Posts: 332
Joined: Thu Nov 17, 2005 9:11 pm

Re: Please sample with Fast Report

Postby Silvio.Falconi » Sat Nov 03, 2012 4:17 pm

Otto I wish create a new file fr3 step by step
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Re: Please sample with Fast Report

Postby elvira » Sat Nov 03, 2012 5:48 pm

Silvio,

Fast report is not longer available for Harbour as Sergey died.
elvira
 
Posts: 516
Joined: Fri Jun 29, 2012 12:49 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 91 guests