error on xbrowse footer - RESOLVED! -

error on xbrowse footer - RESOLVED! -

Postby Silvio.Falconi » Wed Apr 22, 2020 11:36 pm

Image

on xbrowse I set

WITH OBJECT oBrowse:aCols[ 11]
:nFooterType := AGGR_SUM
:cEditPicture := '@ €99,999.99'
END

also I use :nDataStrAlign := AL_RIGHT I not see the symbol of euro

while on another procedure ( same source code) compiled with oldest fwh I see this ( align on right and euro symbol)

Image

any solution ?
Last edited by Silvio.Falconi on Sun May 03, 2020 4:12 pm, edited 1 time in total.
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: 7090
Joined: Thu Oct 18, 2012 7:17 pm

Re: error on xbrowse footer

Postby karinha » Thu Apr 23, 2020 12:17 am

Try,

Code: Select all  Expand view  RUN

:cEditPicture := '€99,999.99'
 
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7872
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: error on xbrowse footer

Postby Silvio.Falconi » Thu Apr 23, 2020 12:47 am

I allready tested with

WITH OBJECT oBrowse:aCols[ 11]
:nFooterType := AGGR_SUM
:cEditPicture := "€ 999,999.99"
:nDataStrAlign := AL_RIGHT
END

the xbrowse is

@ 120, 02 XBROWSE oBrowse OF oDlg ;
COLUMNS 1,2,3,4,5,6,7,8,9,10,11;
HEADERS "Ico","Tipo","Servizio","Q.tà","Costo","Tot p q.tà","Dal","al","Giorni","Sconto","Totale" ;
COLSIZES 55, 25,130,50,90,90,140,140,50,90,120 ;
PICTURES nil, nil,"@!","9999","€ 999,999.99","€ 999,999.99", "dd-mmmm-yyyy","dd-mmmm-yyyy","999","€ 999,999.99","€ 999,999.99";
ARRAY aData ;
SIZE 100,82 PIXEL STYLE FLAT NOBORDER
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: 7090
Joined: Thu Oct 18, 2012 7:17 pm

Re: error on xbrowse footer

Postby FranciscoA » Thu Apr 23, 2020 3:15 pm

Try:
Code: Select all  Expand view  RUN
:nFootStrAlign := 1  
Francisco J. Alegría P.
Chinandega, Nicaragua.

Fwxh-MySql-TMySql
User avatar
FranciscoA
 
Posts: 2159
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: error on xbrowse footer

Postby Silvio.Falconi » Thu Apr 23, 2020 10:38 pm

..
Last edited by Silvio.Falconi on Thu Apr 30, 2020 8:30 pm, edited 1 time in total.
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: 7090
Joined: Thu Oct 18, 2012 7:17 pm

Re: error on xbrowse footer

Postby Silvio.Falconi » Sat Apr 25, 2020 3:50 pm

--
Last edited by Silvio.Falconi on Thu Apr 30, 2020 8:31 pm, edited 1 time in total.
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: 7090
Joined: Thu Oct 18, 2012 7:17 pm

Re: error on xbrowse footer

Postby Silvio.Falconi » Sat Apr 25, 2020 4:00 pm

..
Last edited by Silvio.Falconi on Thu Apr 30, 2020 8:31 pm, edited 1 time in total.
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: 7090
Joined: Thu Oct 18, 2012 7:17 pm

Re: error on xbrowse footer

Postby Marc Venken » Sat Apr 25, 2020 7:34 pm

Maybe :

xbrNumFormat( "E", .t. ) // "E" for European, "A" for American and others
// .t. for showing thousand separators
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1456
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: error on xbrowse footer

Postby Silvio.Falconi » Sat Apr 25, 2020 8:43 pm

Marc Venken wrote:Maybe :

xbrNumFormat( "E", .t. ) // "E" for European, "A" for American and others
// .t. for showing thousand separators


but why the same source code on another procedure run ok ?
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: 7090
Joined: Thu Oct 18, 2012 7:17 pm

Re: error on xbrowse footer

Postby Silvio.Falconi » Sat Apr 25, 2020 8:47 pm

allready tested not run xbrNumFormat( "E", .t. )
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: 7090
Joined: Thu Oct 18, 2012 7:17 pm

Re: error on xbrowse footer

Postby Otto » Sun Apr 26, 2020 9:08 am

Hello Silvio,

I read that this summer, it is necessary to reserve online for the umbrellas on the beaches.
You are only allowed to enter beaches with reservation cards.

Do you already have software for this?

At the moment, it looks that you must place orders in restaurants with your smartphone after coronavirus restart.
We have nearly ready our ordering system made with mod harbour.

https://www.modharbour.club/mh_bestellservice/restaurant.prg

Best regards
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6364
Joined: Fri Oct 07, 2005 7:07 pm

Re: error on xbrowse footer

Postby cnavarro » Sun Apr 26, 2020 2:49 pm

Otto wrote:
.../...

At the moment, it looks that you must place orders in restaurants with your smartphone after coronavirus restart.
We have nearly ready our ordering system made with mod harbour.

https://www.modharbour.club/mh_bestellservice/restaurant.prg

Best regards
Otto


Dear Otto, I obtain this error
Error: Argument error
operation: +
[ 1] = C C:/xampp/htdocs/mh_bestellservice/orders/
[ 2] = U nil
called from: CHARACTER:__OPPLUS, line: 0
called from: pcode.hrb, MAIN, line: 85
called from: HB_HRBDO, line: 0
called from: ..\apache.prg, EXECUTE, line: 143
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6552
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: error on xbrowse footer

Postby Otto » Sun Apr 26, 2020 3:19 pm

Dear Cristobal,
thanks for your help. which browser do you use.
The link should actually open this page:
Best regards,
Otto

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6364
Joined: Fri Oct 07, 2005 7:07 pm

Re: error on xbrowse footer

Postby cnavarro » Sun Apr 26, 2020 3:29 pm

Otto, I tested with Chrome and Firefox, and Edge, same error
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6552
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: error on xbrowse footer

Postby Otto » Sun Apr 26, 2020 3:37 pm

Dear Cristobal,
are you clicking on this link:
https://www.modharbour.club/mh_bestellservice/restaurant.prg

Best regards
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6364
Joined: Fri Oct 07, 2005 7:07 pm

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 95 guests