Search found 15 matches: cvariable

Return to advanced search

Re: Old DOS to new Windows = Conversion thoughts

... key element. Consider a grid. If I use @ 2,5 SAY "Hello", we shall consider that location to be row 2 of the grid. If I use @2,30 GET cVariable, then it displays on the grid at row 1.5. Why ?
by TimStone
Fri Dec 20, 2019 9:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Old DOS to new Windows = Conversion thoughts
Replies: 15
Views: 1983

Re: Busar en un array y que devuelva la posicion

Otro ejemplo sencillo: Ascan devuelve la posicion del elemento, si lo encuentra. Caso contrario devuelve 0.
Local array:={'CADIZ','MALAGA','SEVILLA','HUELVA','CORDOBA'}, cVariable:="SEVILLA"
nPos := Ascan(array,cVariable)
by FranciscoA
Mon Apr 25, 2016 3:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Busar en un array y que devuelva la posicion
Replies: 3
Views: 481

field length and space in MySql *Fixed*

Dear All, I declare cVariable for a field (VARCHAR(50) in MySql) but the field is empty. The problem is it will return space(0) to cVariable, then I cannot type in TGET because space(0), in "DBFCDX" it will return space(50). ...
by dutch
Tue Jul 07, 2015 8:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: field length and space in MySql *Fixed*
Replies: 9
Views: 1424

Re: Cantidad variable de parámetros

Hola,

Añadiendo hbcompat.ch ya está disponible TEXT INTO cVariable

Un saludo
by lucasdebeltran
Mon Dec 01, 2014 6:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cantidad variable de parámetros
Replies: 29
Views: 9802

How to find out how many times a string is in a variable

Is there a function that can count the number of times the same string shows up in a variable
for example cVariable := "user1/temp/temp"
I Need to count how many times temp shows up in cVariable.

Thanks for any help.
by hag
Thu Feb 03, 2011 12:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to find out how many times a string is in a variable
Replies: 9
Views: 1528

Re: Propiedades del GET

Bueno, y si utilizas una variable local lógica que le cambias el valor en el ON MODIFY del get Algo Asi: LOCAL oGet,; cVariable,; lChange:=.F.,; bModif bModif:={ || lChange:=.T. } REDEFINE GET oGET VAR cVariable .......,; ON CHANGE eval(bModif) . . . . . IF lChange // Almaceno ENDIF ...
by ADBLANCO
Mon Nov 09, 2009 6:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Propiedades del GET
Replies: 8
Views: 1549

Rafael, haces un teste ahi con este comando:


? AnsiLower( cVariable )

http://fivetechsoft.com/forums/viewtopi ... =ansilower

Que retorna?
by karinha
Thu Nov 13, 2008 2:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mayúsculas espúreas en un get !!!???
Replies: 12
Views: 2257

SET FILTER TO "expedicion == '" + cvariable + "'"
by RenOmaS
Fri Jun 20, 2008 9:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pequeña consulta ADORDD
Replies: 7
Views: 1475

SET FILTER TO FIELD->EXPEDICION = cVariable

Un saludo
by MOISES
Fri Jun 20, 2008 8:47 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pequeña consulta ADORDD
Replies: 7
Views: 1475

Ruben,

Lograste hacer funcionar cGetFile32 en Vista?

Ahora se me esta presentando ese error, sobre todo cuando la variable esta vacia.

cVariable := cGetFile32( .......)

Se cierra la aplicacion sin decir .. agua va


Saludos,
Mauricio
by Mauricio
Tue May 27, 2008 7:11 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: cGetFile Problema en Windows Vista
Replies: 9
Views: 1709

No tendrás un problema con la configuración de tu editor de programas?
Otra Cosa, si el origen del dato ya es Ansi, te retorna otra cosa,
Puedes probar con:

IIF(ISOEM(cVariable),OEMTOANSI(cVariable),cVariable)


No se, digo yo...



Saludos, Desde Valencia,Venezuela.
by ADBLANCO
Fri Jan 25, 2008 3:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problemas con la letra Ñ
Replies: 13
Views: 2084

Hola Diego:
Si solo eso es el problema, pone en la clausula valid del get que lee el codigo de barras una funcion que te convierta los ´ por - usando STRTRAN(cVariable,"´","-") y listo.
Espero te sirva.
by cmsoft
Fri Jan 25, 2008 9:27 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: codigo de barras con letras
Replies: 9
Views: 3951

... con los registros de la tabla (DBGOTOP(), DBGOBOTTOM, etc.) y es en la funcion de ALTA y MODIFICACION, donde genero el objeto oDbf como cvariable Local y en su caso, doy de alta un nuevo registro o lo modifico el registro. Al volver al browse, el registro ya esta dado de alta o modificado ...
by Manuel Valdenebro
Thu Nov 29, 2007 5:46 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema usando tDatabase
Replies: 16
Views: 3888

FILTRAR CAMPO MEMO

... un filtro con una clave de su contenido? En los otros tipos de campos, el filtro lo realizo mediante un indice: INDEX ON fichero->NOMBRE for cVariable $ fichero->MATRICULA Pero esto no funciona con los campos memos. Tambien he intentado con un SET FILTER, pero tampoco me ha funcionado. ...
by Manuel Valdenebro
Sun Apr 22, 2007 6:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FILTRAR CAMPO MEMO
Replies: 3
Views: 1046

Re: ASC bug - re: Barbara THIAM's post

No error message now.

When there is SET EXACT ON, a cVariable with space(s),
like cVar := " ", is not equal to "" for xHarbour.
When SET EXACT OFF, it's ok, " " = "".
With Clipper, " " = "", always.

Badara
by Badara Thiam
Sat Oct 15, 2005 7:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ASC bug - re: Barbara THIAM's post
Replies: 23
Views: 10931

Return to advanced search