Search found 20 matches: var3

Return to advanced search

Error en SQL

... 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 := alltrim(Var1) oRecordSet:Fields("nombre"):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: 1169

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: 1169

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: 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: 433

Re: Controlar Gets y validaciones...

... oGet2 Var... Valid TuFuncion(var1,var2...) Redefine Get oGet3 Var... Valid TuFuncion(var1,var2...) Redefine button oBt1....... Action TodoOK(var1,var3,varx...) //---------------------------------------------------------------------- Function TodoOk (var1,var3,varx...) if empty(var1) .or. empty(var3...) ...
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...

... oGet2 Var... Valid TuFuncion(var1,var2...) Redefine Get oGet3 Var... Valid TuFuncion(var1,var2...) Redefine button oBt1....... Action TodoOK(var1,var3,varx...) //---------------------------------------------------------------------- Function TodoOk (var1,var3,varx...) if empty(var1) .or. empty(var3...) ...
by FranciscoA
Tue Jul 23, 2013 3:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Controlar Gets y validaciones...
Replies: 16
Views: 3191

Re: 3 levels categories

The DBF does not matter.

get var1 valid ...
get var2 valid ...
get var3 valid ...
read

field_to_save := var1 +var2 + var3
by ADutheil
Mon Apr 22, 2013 12:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: 3 levels categories
Replies: 7
Views: 1181

Re: PARAMETROS DE UNA FUNCION

si pasas variables a una funcion de la forma: function (VAR1,VAR2,VAR3) Las variables VAR1,VAR2,VAR3 en la funcion se manejan como locales Si pasas las variables de la forma function parameters VAR1,VAR2,VAR3 las variables VAR1,VAR2,VAR3 se manejan como privates ...
by interwin
Thu Aug 30, 2012 3:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PARAMETROS DE UNA FUNCION
Replies: 12
Views: 1177

Re: PARAMETROS DE UNA FUNCION

Adhemar, eso está perfecto y entendido, el tema es cuando a la 2da funcion, no paso las variables var1,var2,var3, sino, valores propiamente dicho: #include "FiveWin.ch" * memvar Var1,Var2,Var3 Function Main() Public Var1,Var2,Var3 progrma(.t.,"titulo",0) //no ...
by TOTOVIOTTI
Wed Aug 29, 2012 10:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PARAMETROS DE UNA FUNCION
Replies: 12
Views: 1177

Re: PARAMETROS DE UNA FUNCION

Pude encontrar que haciendo: function main() static var1,var2,var3 programa_1(var1,var2,var3) return nil function programa_1 parameters var1,var2,var3.. return nil pero cuando no son variables las que tengo que pasar, por ejemplo: programa_1(.t.,"titulo",0) ...
by TOTOVIOTTI
Wed Aug 29, 2012 9:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PARAMETROS DE UNA FUNCION
Replies: 12
Views: 1177

PARAMETROS DE UNA FUNCION

... Necesito pasar unos parametros de una Función a otra, por ejemplo: Aquí viene mi programa: function main() . .. ... .... programa_1(var1,var2,var3) .... ... .. return nil function programa_1 parameters var1,var2,var3 //necesito recibirla así, porque estas variables siguen por varias funciones, ...
by TOTOVIOTTI
Wed Aug 29, 2012 9:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PARAMETROS DE UNA FUNCION
Replies: 12
Views: 1177

OSay:refresh no funciona

... los despliega. Intenté verificar que estuviera actualizando las variables, dentro de la clausula "ON CHANGE" puse un msgalert(var1+var2+var3,var4) y como debe ser cada que hago un cambio de registro me aparece una ventanita con los datos de las variables que si se actualizan, sin embargo ...
by mariordz
Fri Jul 23, 2010 2:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: OSay:refresh no funciona
Replies: 5
Views: 768

Re: Ayuda con esta funcion...

Jose, claro que se pueden definir Function tufuncion() Local var1,var2 Public var3,var4 Private var5,var6 ... Return Tendrías que mostrar el error, quizas sea ambiguas de advertencia por el nivel de advertencia en tu enlazador, en UEstudio viene por defecto 1 hay ...
by acuellar
Thu Jan 14, 2010 9:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con esta funcion...
Replies: 7
Views: 1574

Re: Question about OLE, Word, Outlook and macros

You need use:

oWordObject:Run( NameOfMacro )

later of NameOfMacro you can use too 30 vars, EXemplo oWordObject:Run( NameOfMacro, var1, var2, var3 ........... var30)

Only if you need of course :D
by lailton.webmaster
Wed Sep 09, 2009 7:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about OLE, Word, Outlook and macros
Replies: 6
Views: 1023
Next

Return to advanced search