Search found 561 matches: val

Return to advanced search

Re: FWHMYSQL Insert failing

Good Morning Mr Rao, I made a test with oCN:InsertSQ() and it's also returning a wrong sentence. It's returning this: INSERT INTO `folha` ( `cemp`,`nfolha`,`cmat`,`cvandes`,`cvdorig`,`val_inf`, `val_calc` ,`total_inc`,`filial`,`clotacao`,`prazo`,`situacao` ) VALUES ( '047','9WZ','00261','500','500',...
by vilian
Mon Apr 08, 2024 11:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWHMYSQL Insert failing
Replies: 6
Views: 401

Re: Redondear un Numero

Gracias Armando, cree esta funcion FUNCTION Redondear(numero) *--------------------------- Local val_num := Val(SubStr(Str(numero,9),-1)) Local Valor := 0 If val_num>=1 .AND. val_num<=5 valor = numero - val_num ElseIf val_num>= 6 .AND. val_num<= 9 valor = numero + ...
by jbrita
Thu Feb 08, 2024 2:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Redondear un Numero
Replies: 7
Views: 389

Re: I'm not asking for the moon...

Before saving, use VAL() unlike you I try my programs over and over again and don't hand the client something that doesn't work well. It's not easy at all, as I told you in the Xbrowse table I have the numeric figures with commas, ...
by Silvio.Falconi
Fri Jan 19, 2024 7:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm not asking for the moon... Resolved!!
Replies: 24
Views: 2146

Re: I'm not asking for the moon...

Before saving, use VAL()
by Otto
Thu Jan 18, 2024 10:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm not asking for the moon... Resolved!!
Replies: 24
Views: 2146

Re: I'm not asking for the moon...

Otto wrote:Yes, see this line.

oGet[1]:bGotFocus := {|| (oGet[1]:cText := STR(VAL(oGet[1]:cText) *100,6), oGet[1]:Refresh(),oGet[1]:SelectAll()) }
Cesar, changed the GETs to character that you get the inputstyle you wanted.

Yes but nvar Is text array but i have numbers no texts
by Silvio.Falconi
Thu Jan 18, 2024 9:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm not asking for the moon... Resolved!!
Replies: 24
Views: 2146

Re: I'm not asking for the moon...

Yes, see this line.

oGet[1]:bGotFocus := {|| (oGet[1]:cText := STR(VAL(oGet[1]:cText) *100,6), oGet[1]:Refresh(),oGet[1]:SelectAll()) }
Cesar, changed the GETs to character that you get the inputstyle you wanted.
by Otto
Thu Jan 18, 2024 9:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm not asking for the moon... Resolved!!
Replies: 24
Views: 2146

Re: phpBB to LLM

python is 3.12 pip is uptodate antivirus is stopped ? C:\fwh\AI>pip install pytorch Collecting pytorch Using cached pytorch-1.0.2.tar.gz (689 bytes) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Building wheels for...
by alerchster
Mon Dec 25, 2023 6:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: phpBB to LLM
Replies: 33
Views: 4686

error TXBROWSE:CARGOS

Hola gente, en la versión 23.07 me da este error, cosa que en la 22.12 no. Me falta agregar alguna librería? Este es parte del código: *----------------- DEFINE WINDOW oWndChild MDICHILD OF oWnd FROM 0, 0 TO 24, 79TITLE "Carga Informe de Auditoría " font oFont11 DEFINE DIALOG princfac RESO...
by jpcavagnaro
Wed Aug 30, 2023 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: error TXBROWSE:CARGOS
Replies: 3
Views: 280

Re: numeric get

You are right, Antonio. My problem is to let an user input an integer value with a maximum of 6 digits. But without showing a zero in the get control. I could take a string value with picture "999999" and after transform it to numeric with val( cVar ...
by Detlef
Thu Jul 20, 2023 11:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: numeric get
Replies: 8
Views: 319

Re: Select one btnbmp into a scrollpanel

... lActive aBtnEle[n]:bAction :={ |o| lActive := !lActive, ; o:cargo:= lActive,; o:refresh(),; Set_items_Active(oElements,o:cargo,o),; nElemento:= val(nProduct) } Function Set_items_Active(oItem,lActive,oBTn) local oCtrl for each oCtrl in oItem:aControls oCtrl:bClrGrad = { | lInvert | If( ! lInvert,; ...
by Silvio.Falconi
Mon Jun 12, 2023 5:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Select one btnbmp into a scrollpanel
Replies: 1
Views: 105

Select one btnbmp into a scrollpanel

... ? I tried also with aBtnEle[n]:cargo:= lActive aBtnEle[n]:bAction :={ |o| lActive := !lActive, ; o:cargo:= lActive,; o:refresh(),; nElemento:= val(nProduct) }
by Silvio.Falconi
Mon Jun 12, 2023 5:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Select one btnbmp into a scrollpanel
Replies: 1
Views: 105

a cuestas con sql server

Estimados compañeros buenos dias molesto su atencion con un tema que me esta produciendo dolores de cabeza tengo una instalacion con ads server y tablas DBF en esta instalacion debo cargar cada noche miles de registros a una base de datos sql server ( ese sql esta en el mismo server ) el caso es que...
by wilsongamboa
Tue Apr 11, 2023 11:32 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: a cuestas con sql server
Replies: 4
Views: 409

Re: xBrowse footer picture

I found the cause of more than 2 decimals in the footer sum.. My column value was computed by multiplying a numeric value by a val( alltrim( cValue ) ) . The xBrowse column was showing correct values with 2 decimals according to the column picture clause. But ...
by Detlef
Mon Apr 03, 2023 2:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse footer picture
Replies: 11
Views: 730

Ayuda por favor con folder y listbox

Hola, necesito hacer una pantalla con 4 folders de las cuales 3 tienen listbox, el problrma que tengo es que no muestran los datos, muestra un solo registro, a persar de que los datos se graban bien en las dbf. DEFINE WINDOW oWndChild MDICHILD OF oWnd FROM 0, 0 TO 24, 79TITLE "Carga Informe de ...
by jpcavagnaro
Wed Mar 29, 2023 12:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ayuda por favor con folder y listbox
Replies: 1
Views: 238

DBF REDE/WEB WINDOWS 7/10/11

... nSele := Select() LOCAL cNome := Space(40) SELECT MULTIEMP MULTIEMP->(DBSETORDER(1)) MULTIEMP->(DBGOTOP()) IF MULTIEMP->(DBSEEK(STRZERO(VAL(cCodigo),4))) cNome := MULTIEMP->NOMEMP ENDIF Select( nSele ) RETURN( cNome ) //----------------------------------------------------------------------------// ...
by wanderson8
Sun Jan 08, 2023 3:10 pm
 
Forum: All products support
Topic: DBF REDE/WEB WINDOWS 7/10/11
Replies: 0
Views: 9369
Next

Return to advanced search