El dato es tipo caracter.
Lo curioso es que si quito ésta columna, me ocurre lo mismo con la siguiente.
Code: Select all
TWBrowse():lHScroll:= .F.
@ 30, 0 LISTBOX oLbx FIELDS aHBitmaps[ Max( 1, val((aAlias[24])->Estado) ) ],;
(aAlias[24])->Albaran,;
dtoc((aAlias[24])->Fecha),;
oemtoansi((aAlias[24])->pro),;
(aAlias[24])->pobla,;
(aAlias[24])->CR,;
oemtoansi((aAlias[24])->prou),;
(aAlias[24])->pobla1,;
transform(((aAlias[24])->baseimpo),"@Z 99,999.99"),;
transform(((aAlias[24])->kkilos),"@Z 999"),;
transform(((aAlias[24])->kilos),"@Z 99,999"),;
(aAlias[24])->factura,;
(aAlias[24])->Codart,;
iif ((aAlias[24])->Tipo=1,'Credito','Contado'),;
transform(((aAlias[24])->Orden),"@Z 9999999"),;
iif((aAlias[33])->(Dbseek(str((aAlias[24])->Orden,7))),aHBitmap1[1]," " ),;
iif(conexion = "S",(buscasql(oLbx,transform(((aAlias[24])->Orden),"@Z 9999999"),oRs,1))," "),; // HACE LA LLAMADA A MYSQL, ESTA COLUMNA SE MUESTRA AL PASAR SOBRE ELLA
iif(conexion = "S",(buscasql(oLbx,transform(((aAlias[24])->Orden),"@Z 9999999"),oRs,2))," "),;
iif(conexion = "S",(buscasql(oLbx,transform(((aAlias[24])->Orden),"@Z 9999999"),oRs,3))," "),;
(aAlias[24])->nConductor,;
(aAlias[24])->N_Reexp,;
(aAlias[24])->Spro,;
(aAlias[24])->Graba,;
(aAlias[24])->Operador;
HEADERS " F "," Numero ", " Fecha ", " Cliente ", "Pobla", "T","Origen/Destino", "Pobla", " Importe ", " Bult. ", " Kilos "," Factura "," Tarifa ","Tipo","Orden","In" ,"F/E","H/E","C/E"," Conductor " ,"Reexpedido","SPro","Fhora"," Operador ";
FIELDSIZES 15, 50, 55, 220, 120, 15, 220, 120, 42, 25, 32, 45, 35, 45, 50, 15, 55, 35, 25, 200, 120, 120, 120, 100;
ALIAS aAlias[24];
CURSOR oCurdedo;
COLOR CLR_BLACK, nRGB(226,226,208);
ON LEFT DBLCLICK (iif(!(aAlias[24])->(eof()) .and. Publicas:cAccesoM,(cTitulo:="Visualización de Albaranes ",Entalba1(cTitulo,"V",,aAlias),oLbx:Refresh()),.T.));
OF oDlg;
PIXEL