I have tried Easy Report to create sample Designer File. I have created 2 Area's in the sample file but the AREA's details are saved in the same file it does NOT create Area wise multiple files that is why when I ran the Report file it throws the ERROR Area01 Description not found. The Report Designer file extension is .ERD it is NOT .VRD. It seems that The Designer and the run time environment is NOT in sync. Please guide me for the same.
Also during startup many errors are popping up and also for each ERDesigner startup I have to delete *.ini files. ERD is NOT in the English. which I have already reported
- Code: Select all Expand view RUN
#include "FiveWin.ch"
#include "easyrep.ch"
/*
* Project: v2
* File: er_inv.prg
* Description:
* Author:
* Date: 03-16-2019
*/
PROCEDURE er_invprint
local oVRD
local lPreview := .t.
local aTemp := {}
local oPrnDlg
*----------------------------------------------------------
TPreview():lListViewHide := .T.
EASYREPORT oVRD NAME oApp:G_REPORT_DIR+"Inv.vrd" PREVIEW lPreview TO oPrnDlg PRINTDIALOG IIF( lPreview, .F., .F. ) MODAL
PRINTAREA 1 OF oVRD ;
ITEMIDS { 101, 102 } ;
ITEMVALUES { "VIMTECH CO.", "NIRMAL TOWNSHIP 502 PUNE" }
oVRD:End()
RETURN NIL
Thanks
Shridhar