Tree
Posted: Fri Feb 03, 2012 10:15 pm
Hi, I have a form with a TREE, which charge a field called "bpolizan" is numeric 10 length.
A display in the Tree, it does not have the same length to make.
try PADR and the result is the same. abideth not in the same column
that failure??
Hola: tengo un formulario con un TREE, en el cual cargo un campo llamado "bpolizan", es numerico 10 de longitud.
al mostrar en el TREE, el mismo no tiene la misma longitud al convertirlo.
intente con PadR y el resultado es el mismo. no queda en la misma columna
en que fallo ????
A display in the Tree, it does not have the same length to make.
try PADR and the result is the same. abideth not in the same column
that failure??
Hola: tengo un formulario con un TREE, en el cual cargo un campo llamado "bpolizan", es numerico 10 de longitud.
al mostrar en el TREE, el mismo no tiene la misma longitud al convertirlo.
intente con PadR y el resultado es el mismo. no queda en la misma columna
en que fallo ????
Code: Select all
nRecno := Recno()
cPoliza := Replicate("-",10 - Len(Ltrim(str(bpolizan))))+ Ltrim(Str(bPolizan))
main.Polizas.AddItem( "Poliza : " + cPoliza , nAsegurado ,{'Cerrar.bmp','Abrir.bmp'}, nRecno )