Search found 33 matches: importo

Return to advanced search

Mensaje Error importando SLK

...   else        msgalert("ERROR EN LA IMPORTACION","ATENCION")        endif        oExcel:Quit()Retu Nil Cuando importo ficheros slk me da el siguiente error: https://live.staticflickr.com/65535/50149943158_695f2aca56_w.jpg Si pincho en No, todo ...
by JoseLuis
Sat Jul 25, 2020 8:15 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mensaje Error importando SLK
Replies: 1
Views: 236

Re: Compilar con Harbour

Hola Sr. Navarro Ejecuto Fivedit, importo un proyecto desde Verce y cuando elijo solo compilar me arroja lo siguiente: Harbour 3.2.0dev (r1703231115) Copyright (c) 1999-2016, http://harbour-project.org/ Compiling 'c:\disco-d\disco-d\programs\colegiobh\prg\COLEGIO.prg' ...
by caducca
Tue Feb 20, 2018 4:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Compilar con Harbour
Replies: 4
Views: 735

Xbrowse or Report Bug

... { || MV->causale } oCol:cHeader := i18n( "Causale" ) oCol:nWidth := 200 oCol := oBrowse:AddCol() oCol:bStrData := { || round(MV->importo,2) } oCol:cHeader := i18n( "Importo Totale" ) oCol:nWidth := 150 oCol:nDataStrAlign := AL_RIGHT oCol:cEditPicture := PictEuros() oCol:lTotal ...
by Silvio.Falconi
Mon Jan 15, 2018 4:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse or Report Bug
Replies: 10
Views: 1701

Re: DLL32 definition with double parameter type

Hi.
With the function changed like this, I have this result :

IMPORTO = L2BIN( NDBL2FLT( 0 ))
nReturn = AdsGetDouble(handle, "IMPORTO", @IMPORTO)
msginfo(NFLT2DBL(IMPORTO), str(nReturn))

Image
by Massimo Linossi
Tue Dec 19, 2017 12:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLL32 definition with double parameter type
Replies: 23
Views: 2871

Re: DLL32 definition with double parameter type

Hi Enrico.
With this code I have this result :

IMPORTO = L2BIN( NDBL2FLT( 0 ))
nReturn = AdsGetDouble(handle, "IMPORTO", @IMPORTO)
msginfo(IMPORTO, str(nReturn))

Image
by Massimo Linossi
Tue Dec 19, 2017 8:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLL32 definition with double parameter type
Replies: 23
Views: 2871

Re: DLL32 definition with double parameter type

Massimo Linossi wrote:Placing a replicate(chr(0),8) in the importo variable I have the same result.


Probably it's not the right binary representation for 0 double value the function is expecting. There is any mention in the docs about the expected double format?

EMG
by Enrico Maria Giordano
Mon Dec 18, 2017 1:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLL32 definition with double parameter type
Replies: 23
Views: 2871

Re: DLL32 definition with double parameter type

Placing a replicate(chr(0),8) in the importo variable I have the same result. Looking inside the ADS documentation I found this : AdsGetLong Retrieves the long integer value from the given field. Syntax UNSIGNED32 AdsGetLong (ADSHANDLE hTable, ...
by Massimo Linossi
Mon Dec 18, 2017 1:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLL32 definition with double parameter type
Replies: 23
Views: 2871

Re: DLL32 definition with double parameter type

Hi Enrico. With this code nReturn is 0 (correct) but IMPORTO is -343597384 IMPORTO = "0.00" nReturn = AdsGetDouble(handle, "IMP_FORN", @IMPORTO) msginfo(IMPORTO, str(nReturn)) IMPORTO = "0.00" is not correct. This is a ...
by Enrico Maria Giordano
Mon Dec 18, 2017 12:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLL32 definition with double parameter type
Replies: 23
Views: 2871

Re: DLL32 definition with double parameter type

Hi Enrico.
With this code nReturn is 0 (correct) but IMPORTO is -343597384

IMPORTO = "0.00"
nReturn = AdsGetDouble(handle, "IMP_FORN", @IMPORTO)
msginfo(IMPORTO, str(nReturn))
by Massimo Linossi
Mon Dec 18, 2017 11:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLL32 definition with double parameter type
Replies: 23
Views: 2871

Re: DLL32 definition with double parameter type

Hi.
Now there is no error but I get a strange result.
Inside the table field the value is 729.29 but with this code I get -343597384

value = 0.00
AdsGetDouble(handle, "IMPORTO", @value)
msginfo(value)

Many thanks for your help.
Massimo
by Massimo Linossi
Sun Dec 17, 2017 6:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLL32 definition with double parameter type
Replies: 23
Views: 2871

URGENT HELP !!! xbrowse error

... "Desc", "Precio", "Importe" ; HEADERS "Qta", "Descrizione", "Prezzo", "Importo" ; COLSIZES 30, 170, 60, 60 ; PICTURES "999,999", nil, "999.99", "999.99" ; NOBORDER ; FONT oFntBrow STYLE ...
by Silvio.Falconi
Mon May 29, 2017 11:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: URGENT HELP !!! xbrowse error
Replies: 9
Views: 1650

Re: Ejemplo sencillo de factura

... ,i18n("Ritenuta") ,nil ,80 },; { "PAIVA" ,i18n("Iva") ,"99%" ,36 },; { "PATOTALE" ,i18n("Importo") ,pict_money_Euro ,80 }} @ 0, 0.2 XBROWSE oBrw ; OF oFld:adialogs[1] DATASOURCE "TB" ; COLUMNS aBrowse CELL LINES FOOTERS NOBORDER ...
by Rosita
Tue Apr 12, 2016 11:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejemplo sencillo de factura
Replies: 46
Views: 17752

Re: Ejemplo sencillo de factura

... ,i18n("Ritenuta") ,nil ,80 },; { "PAIVA" ,i18n("Iva") ,"99%" ,36 },; { "PATOTALE" ,i18n("Importo") ,pict_money_Euro ,80 }} @ 0, 0.2 XBROWSE oBrw ; OF oFld:adialogs[1] DATASOURCE "TB" ; COLUMNS aBrowse CELL LINES FOOTERS NOBORDER ...
by Silvio.Falconi
Tue Apr 12, 2016 9:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejemplo sencillo de factura
Replies: 46
Views: 17752

Re: Add Xbrowse Column at runtime

... button .... action lRitenuta:=IF(lRitenuta,.f.,.t.),; oBrw:aCols[8]:lHide:=!lRitenuta, oBrw:refresh() the problem : I not see the last header of Importo and I wish if it possble check all when the user set the lritenuta
by Silvio.Falconi
Wed Nov 12, 2014 12:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add Xbrowse Column at runtime
Replies: 7
Views: 2537

Re: Add Xbrowse Column at runtime

... you want to display in the inserted column and what other column you want to change and refresh. If you just want to display 20% of the value in Importo column, you can do this ADD TO oBrw AT 8 DATA (oBrw:Importo:Value * 0.20) TITLE "New" PICTURE "9999.99" If you want some ...
by nageswaragunupudi
Tue Nov 11, 2014 3:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add Xbrowse Column at runtime
Replies: 7
Views: 2537
Next

Return to advanced search