On report sample 10 (rep10.prg)
I saw there is the command for make a group
If I wish create a dialog before the rep10.prg and make a selection by user for select with a combobox the group comand How I must make ?
sample
How do I connect the user's choice to the group that has to make the report class?
then on header ( rep10)
I with insert the pages and the total pages
I tried with
local nTotalpages:= oReport:oDevice:cLastPage
HEADER ' ', "Data: "+dtoc(date())+ " Pagina.: "+str(oReport:nPage,3)+"/"+nTotalpages
But not run
I saw there is the command for make a group
GROUP ON Test->State ;
FOOTER "Total State "+oReport:aGroups[1]:cValue+ ;
" ("+ltrim(str(oReport:aGroups[1]:nCounter))+")" ;
FONT 2 ;
EJECTIf I wish create a dialog before the rep10.prg and make a selection by user for select with a combobox the group comand How I must make ?
sample
@ 12, 10 COMBOBOX oRag[2] VAR nGroup ITEMS aGroup OF oDlgOptions SIZE 300, 30 PIXEL FONT oFont HEIGHTGET 16How do I connect the user's choice to the group that has to make the report class?
then on header ( rep10)
REPORT oReport TITLE "*** My First Report ***" ;
FONT oFont1, oFont2 ;
PREVIEWI tried with
local nTotalpages:= oReport:oDevice:cLastPage
HEADER ' ', "Data: "+dtoc(date())+ " Pagina.: "+str(oReport:nPage,3)+"/"+nTotalpages
But not run
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 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
I use : FiveWin for Harbour March-April 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



