DATABASE con Campos numericos y PICTURE

Post Reply
User avatar
joseluisysturiz
Posts: 2024
Joined: Fri Jan 06, 2006 9:28 pm
Location: Guatire - Caracas - Venezuela
Contact:

DATABASE con Campos numericos y PICTURE

Post by joseluisysturiz »

Hola a todos, cuando uso la DATABASE con campos numericos y los traigo a oGET VAR oDbf:variable ID nn PICTURE "999,999,999.99", mde da un error en ejecucion de STR, _ de mi DBF son numericos, alguien le ha pasado esto o lo ha resuelto...gracias...

REDEFINE GET oGET2[10] VAR oDbf:inv_cangru ID 111 PICTURE "999,999.99" OF oDlgFProdu UPDATE

asi lo tengo, si uso una variable que no local esto si no da error.
Dios no está muerto...

Gracias a mi Dios ante todo!
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Jose Luis,

Puedes poner aqui la lista de llamada de funciones que te aparece en el error ? gracias
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
joseluisysturiz
Posts: 2024
Joined: Fri Jan 06, 2006 9:28 pm
Location: Guatire - Caracas - Venezuela
Contact:

Post by joseluisysturiz »

Antonio Linares wrote:Jose Luis,

Puedes poner aqui la lista de llamada de funciones que te aparece en el error ? gracias
Antonio, use o no valid da el mismo error, cuando uso var local no me da el error, lo ejecutare para copiar el error exactamente, si le quito el PICTURE entonces no da error.
Dios no está muerto...

Gracias a mi Dios ante todo!
User avatar
joseluisysturiz
Posts: 2024
Joined: Fri Jan 06, 2006 9:28 pm
Location: Guatire - Caracas - Venezuela
Contact:

Post by joseluisysturiz »

Antonio aca dejo el error que me da desde el arcivo .log, estoy usando FWH 2.4
Application
===========
Path and name: C:\SISINGE\FARMACIA\FARMACIA.EXE (32 bits)
Size: 1,267,712 bytes
Time from start: 0 hours 1 mins 27 secs
Error occurred at: 28/09/2006, 08:55:30
Error description: Error BASE/1110 Argument error: SUBSTR
Args:
[ 1] = U
[ 2] = N 1
[ 3] = N 1

Stack Calls
===========
Called from SUBSTR(0)
Called from GET:UNTRANSFORM(604)
Called from TGET:LOSTFOCUS(0)
Called from TCONTROL:KILLFOCUS(0)
Called from TCONTROL:HANDLEEVENT(0)
Called from _FWH(0)
Called from DIALOGBOX(0)
Called from TDIALOG:ACTIVATE(0)
Called from FCOMPRA(467)
Called from EVAL(57)
Called from TBTNBMP:CLICK(0)
Called from TWINDOW:LBUTTONUP(0)
Called from TWINDOW:HANDLEEVENT(0)
Called from TWINDOW:HANDLEEVENT(0)
Called from _FWH(0)
Called from DIALOGBOX(0)
Called from TDIALOG:ACTIVATE(0)
Called from BRWCOMPRA(99)
Called from EVAL(74)
Called from TBTNBMP:CLICK(0)
Called from TWINDOW:LBUTTONUP(0)
Called from TWINDOW:HANDLEEVENT(0)
Called from TWINDOW:HANDLEEVENT(0)
Called from _FWH(0)
Called from WINRUN(0)
Called from TWINDOW:ACTIVATE(0)
Called from MAIN(104)

System
======
CPU type: Pentium II 233 Mhz
Hardware memory: 96 megs

Free System resources: 74 %
GDI resources: 74 %
User resources: 77 %

Compiler version: Harbour Alpha build 43.0 Intl. (Flex)
Windows version: 4.10, Build 67766446 A

Windows total applications running: 0
Dios no está muerto...

Gracias a mi Dios ante todo!
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Jose Luis,

Estás usando unas versiones bastante antiguas ya de FWH y de Harbour. Ese error se corrigió en Harbour, si no recuerdo mal.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply