Search found 32 matches: var2

Return to advanced search

Re: New FTDN June/Junio (FWH 21.06)

... #xcommand SwapValues( <a>, <b> ) => StackPush( <a> ); <a> := <b>; <b> := StackPop() Uso: var1 := 100 var2 := 900 SwapValues( var1, var2 ) // no SwapValues( @var1, @var2 ) ? var1,var2 // --> 900,100 aData := { 3, 4, 5, 6, 7 } SwapValues( aData[ 2 ...
by Antonio Linares
Wed Jul 28, 2021 2:07 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio (FWH 21.06)
Replies: 7
Views: 2113

New FTDN June/Junio (FWH 21.06)

... #xcommand SwapValues( <a>, <b> ) => StackPush( <a> ); <a> := <b>; <b> := StackPop() Usage: var1 := 100 var2 := 900 SwapValues( var1, var2 ) // not SwapValues( @var1, @var2 ) ? var1,var2 // --> 900,100 aData := { 3, 4, 5, 6, 7 } SwapValues( aData[ 2 ...
by Antonio Linares
Tue Jul 27, 2021 4:47 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio (FWH 21.06)
Replies: 7
Views: 2113

New FTDN June/Jnio (FWH 21.06)

... #xcommand SwapValues( <a>, <b> ) => StackPush( <a> ); <a> := <b>; <b> := StackPop() Usage: var1 := 100 var2 := 900 SwapValues( var1, var2 ) // not SwapValues( @var1, @var2 ) ? var1,var2 // --> 900,100 aData := { 3, 4, 5, 6, 7 } SwapValues( aData[ 2 ...
by Antonio Linares
Tue Jul 27, 2021 4:46 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Jnio (FWH 21.06)
Replies: 0
Views: 470

Combobox no Cambia

Saludos a Todos, amigos foristas. Nuevamente acudo a Uds. en busca de ayuda. Tengo esta situacion usando dos Combobox dentro de un TFolderEx en el primer combo, al seleccionar cualquier elemento, se ejecuta bien el On Change ... esa es la idea. Aqui no hay problema. no asi el segundo combo, el cual ...
by JoseAlvarez
Wed Nov 18, 2020 4:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Combobox no Cambia
Replies: 8
Views: 867

ComboBox GetKeyChar() Method

... and hit a match, we can retrieve other info relative to oCbx:nAt from another array... Like 'name' in oCbx:aItem to var1 and aAddr[ oCbx:nAt ] to var2 and so on ... Any thoughts :?:
by fraxzi
Wed Sep 26, 2018 12:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ComboBox GetKeyChar() Method
Replies: 2
Views: 448

Error en SQL

... EndIf Return NIL Veo todos los registros sin problema de la tabla Usuarios SQL, el problema es para agregar datos: Var1:="AAA0100101FFF" Var2:="NOMBRE DE PRUEBA" Var3:="correo@hotmail.com" Var4:="DATO 1" oRecordSet:Addnew() oRecordSet:Fields("rfc"):value ...
by servicomver
Thu Jan 25, 2018 9:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error en SQL
Replies: 3
Views: 1063

Re: . prompt for FWH

Mr.Tim,

. USE olddbf
. REPLACE ALL var1 WITH .t. FOR var2 = "Y" .and. var3 = "Y" .and. tDate = CTOD( "12/01/16")


You can try xHarbour's xPrompt. It does the same job.

-Ramesh Babu
by RAMESHBABU
Fri Jun 17, 2016 4:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: . prompt for FWH
Replies: 8
Views: 1168

Re: . prompt for FWH

The old . prompt made some tasks so simple.

. USE olddbf
. REPLACE ALL var1 WITH .t. FOR var2 = "Y" .and. var3 = "Y" .and. tDate = CTOD( "12/01/16")

That doesn't always work very well with our edit and dbu programs.

Tim
by TimStone
Thu Jun 16, 2016 7:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: . prompt for FWH
Replies: 8
Views: 1168

Re: New FWH 15.06

Hi Antonio

with previous versions it was possible to have a xbrowse of a hash

Function Main()
Local hVar := {=>}

hVar [ "var1" ] = 1234
hVar [ "var2" ] = "abcd"

xbrowse(hVar)

Return nil

Regards Maurizio
www.nipeservice.com
by Maurizio
Tue Jul 21, 2015 2:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 15.06
Replies: 15
Views: 4708

Re: INSERT SET o INSERt VALUES

Hola,,,
Sintaxis pata INSERT
INSERT INTO productos (campo1, campo2, campo3) VALUES (var1, car2, var3) WHERE <condición>
Para UPDATE
UPDATE productos SET campo1 = var1, campo2 = var2, campo3 = var3 WHERE <condición>
by Willi Quintana
Thu Feb 12, 2015 10:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: INSERT SET o INSERt VALUES
Replies: 19
Views: 2777

Re: a function return 2 values

Hello

I prefer use hash, example

h = any()

You can access h[ "var1" ], h[ "var2" ]

Functions any()

Local hVar = {=>}

...

hVar [ "var1" ] = 1234
hVar [ "var2" ] = "abcd"

Return hVar
by Daniel Garcia-Gil
Sun Feb 01, 2015 12:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: a function return 2 values
Replies: 11
Views: 2294

Concatenar una variable.

Buen día amigos: Acudo a ustedes para su colaboración trataré de explicarme, poniendo el código. Local Var1:= "CARTERA" Local Var2:= "VENCIDA" Local num_Var := "0" Antes yo podía concatenar de la siguiente manera: num_Var := Alltrim(Str( val(num_Var)+1 )) // Incremento ...
by Yessica
Wed Jan 14, 2015 4:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Concatenar una variable.
Replies: 12
Views: 1669

Re: Ayuda Mysql

Saludos ! Para concatenar datos en Mysql esta la funcion CONCAT(), Select CONCAT(Nombre, ' ', Apellidos) As Nombre From usuarios; En tu caso SELECT * FORM TABLA rutcli + numvta + tipodoc....(nose como se realiza) Seria asi Select * from tu tabla where rutacli=tu_var1, and numvta = tu_var2 and tipodo...
by compubrion
Thu Mar 06, 2014 10:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Mysql
Replies: 2
Views: 429

Re: Controlar Gets y validaciones...

... a como lo vienes haciendo por cada Get, pero al final, en el boton Aceptar, vuelve a validar. Ej: Redefine Get oGet1 Var... Valid TuFuncion(var1,var2...) Redefine Get oGet2 Var... Valid TuFuncion(var1,var2...) Redefine Get oGet3 Var... Valid TuFuncion(var1,var2...) Redefine button oBt1....... ...
by ACC69
Tue Jul 23, 2013 3:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Controlar Gets y validaciones...
Replies: 16
Views: 3191

Re: Controlar Gets y validaciones...

... a como lo vienes haciendo por cada Get, pero al final, en el boton Aceptar, vuelve a validar. Ej: Redefine Get oGet1 Var... Valid TuFuncion(var1,var2...) Redefine Get oGet2 Var... Valid TuFuncion(var1,var2...) Redefine Get oGet3 Var... Valid TuFuncion(var1,var2...) Redefine button oBt1....... ...
by FranciscoA
Tue Jul 23, 2013 3:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Controlar Gets y validaciones...
Replies: 16
Views: 3191
Next

Return to advanced search

cron