Error BASE/1004 Class: 'NIL' has no exported method: NEW

Post Reply
jgayoso
Posts: 170
Joined: Sat Aug 07, 2010 11:36 pm
Location: Chile

Error BASE/1004 Class: 'NIL' has no exported method: NEW

Post by jgayoso »

En la función adjunta, en la linea @ 1, 2 SAY cDesVendedor+":" OF oDlg, me da el siguiente error: Error BASE/1004 Class: 'NIL' has no exported method: NEW.

Esta función me funcionaba bien, y de repende me dio este error y no he podido saber el porque esto ha detenido mi proyecto de cambio a xharbour.

Si alguien tiene una idea, se agradece desde ya.


Function fFWH_Apertura_Caja(cod_vendex,cTitulo,cDesVendedor,cTextoSencillo)
LOCAL oDlg, oGet
LOCAL lRetorno:=.F.

SET _3DLOOK ON
DEFINE DIALOG oDlg TITLE cTitulo
@ 1, 2 SAY cDesVendedor+":" OF oDlg
@ 1, 8 GET oGet VAR cod_vendex OF oDlg SIZE 30, 10 PICTURE "999999" valid fEmpld_Busca(@cod_vendex) .and. fEmpld_Apertura(oDlg, cTextoSencillo)
oGet:lDisColors = .f.
@ 3, 7 BUTTON "&Aceptar" OF oDlg SIZE 30, 12 ACTION (lRetorno:=.T., oDlg:End())
@ 3,16 BUTTON "&Cancelar" SIZE 30, 12 OF oDlg ACTION oDlg:End() CANCEL

ACTIVATE DIALOG oDlg CENTERED
return lRetorno
jgayoso
Posts: 170
Joined: Sat Aug 07, 2010 11:36 pm
Location: Chile

Re: Error BASE/1004 Class: 'NIL' has no exported method: NEW

Post by jgayoso »

Lo cambie a @ 1, 2 SAY oSay VAR "Vendedor:" OF oDlg declarando oSay como local y el texto fijo, e igual.

El problema esta con el SAY.

¿Si alguien sabe algo? se agradece.
Post Reply