Hi Ignacio
Thanks for your guidance for report (4 Page Problem) that's works perfect
but still I am not able to add the variable. I am using Harbour/Mingui
Harbour 3.2.0dev (r1406271520)
Copyright (c) 1999-2014,
http://harbour-project.org/Compiling 'con_frh.prg'...
Lines 13070, Functions/Procedures 2
Generating C source output to 'con_frh.c'... Done.
C:\Akola_Changes\oohg_new\FRH_Report\Trial>
Operating System
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.
Also tried on Windows 8, Windows 7, Win XP and tried to compile with
and when trying to compile with Harbour/BCC and getting following error
C:\MiniGUI\SAMPLES\BASIC\FRX_Test>call ..\..\..\batch\compile.bat grp_dtl
Harbour 3.0.0 (Rev. 16950)
Copyright (c) 1999-2011,
http://harbour-project.org/Compiling 'grp_dtl.prg'...
Lines 20545, Functions/Procedures 3
Generating C source output to 'grp_dtl.c'... Done.
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
grp_dtl.c:
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_HB_FUN___BREAKBLOCK' referenced from C:\MINIGUI\HARBOUR\LIB\XAFRHBCC.LIB|iFastReport
Link error.
If required please let me know I will send you PRG/BAT/DBF Files for your review.
Please guide me.
Regards
Hemant
My Consol mode code
#include "oohg.ch"
#include "i_color.ch"
#include "frh.ch"
ANNOUNCE HB_GT_SYS
REQUEST HB_GT_WVT_DEFAULT
*----------------------------------------------------------------------------------*
Function Main()
*----------------------------------------------------------------------------------*
LOCAL oReport
SetMode( 25, 80 )
SetColor( "N/W" )
CLS
@ 10,10 say 'Hello'
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()
:Create()
:AddCategory( "Personal" )
:AddVariable( "Company", vCmpName )
:AddVariable( "City", vCmpCity )
:AddDbf( "group", { "group->*" } )
:DesignReport()
:End()
END WITH
Return nil