Para Antonio Linares
Posted: Sun Feb 04, 2007 12:57 am
Hola Antonio
Sabes no eh podido encontrar como refrescar el xbrowse ya lei y lei y lei en todos lados y no encuentro nada, nadie me a contestado, ya lei el manual y lo que entiendo es que es similar a refrescar el listbox pero no me funciona me podrias ayudar con un mini ejemplo porfis, yo pongo el refresh() despues de generar datos en la base de datos a si lo tenia con el listbox o se pone diferente con xbrowse
APPEND BLANK
AUTOS->SUM_ASEGU := cSUM_ASEGU
AUTOS->SUM_ASEG := cSUM_ASEG
AUTOS->SUMA_ASEG_ := cSUMA_ASEG_
AUTOS->SUMA_ASEGU := cSUME_ASEGU
AUTOS->RCV_CATAST := cRCV_CATAST
AUTOS->AGENTEO := cAgente
AUTOS->AGENTE := cPromo
AUTOS->Descuentos :=cDescuentos
AUTOS->P_mensual :=cDescuentos+cDescuentos
AUTOS->PRIMA_NETA := cPRIMA_NETA
AUTOS->IMPORTE_TO := cIMPORTE_TO
AUTOS->Recibo1 := rRecibo1
AUTOS->Recibo2 := rRecibo2
oBrw:upstable()
oBrw:refresh()
------------------------------------- y pasa esto
Application
===========
Size: 2,301,952 bytes
Time from start: 0 hours 0 mins 19 secs
Error occurred at: 03/02/2007, 19:13:29
Error description: Error BASE/1004 Message not found: TXBROWSE:UPSTABLE
Stack Calls
===========
Called from __ERRRT_SBASE(0)
Called from HBOBJECT:ERROR(179)
Called from __EVAL(105)
Called from HBOBJECT:MSGNOTFOUND(0)
Called from TXBROWSE:UPSTABLE(169)
Called from GUARDAR(1618)
Called from AUTO_C(1438)
Called from AUTO_B(1366)
Called from ALTA(1227)
Called from ALTASINO(881)
Called from (b)MAIN2(530)
Called from TBTNBMP:CLICK(0)
Called from TWINDOW:LBUTTONUP(0)
Called from TWINDOW:HANDLEEVENT(0)
Called from TWINDOW:HANDLEEVENT(0)
Called from _FWH(3109)
Called from DIALOGBOX(0)
Called from TDIALOG:ACTIVATE(0)
Called from MAIN2(678)
Called from (b)MAIN(207)
Called from (b)ADDITEM(0)
Called from TBTNBMP:CLICK(0)
Called from TWINDOW:LBUTTONUP(0)
Called from TWINDOW:HANDLEEVENT(0)
Called from TWINDOW:HANDLEEVENT(0)
Called from _FWH(3109)
Called from WINRUN(0)
Called from TWINDOW:ACTIVATE(878)
Called from MAIN(265)
Gracias
Aida
Sabes no eh podido encontrar como refrescar el xbrowse ya lei y lei y lei en todos lados y no encuentro nada, nadie me a contestado, ya lei el manual y lo que entiendo es que es similar a refrescar el listbox pero no me funciona me podrias ayudar con un mini ejemplo porfis, yo pongo el refresh() despues de generar datos en la base de datos a si lo tenia con el listbox o se pone diferente con xbrowse
APPEND BLANK
AUTOS->SUM_ASEGU := cSUM_ASEGU
AUTOS->SUM_ASEG := cSUM_ASEG
AUTOS->SUMA_ASEG_ := cSUMA_ASEG_
AUTOS->SUMA_ASEGU := cSUME_ASEGU
AUTOS->RCV_CATAST := cRCV_CATAST
AUTOS->AGENTEO := cAgente
AUTOS->AGENTE := cPromo
AUTOS->Descuentos :=cDescuentos
AUTOS->P_mensual :=cDescuentos+cDescuentos
AUTOS->PRIMA_NETA := cPRIMA_NETA
AUTOS->IMPORTE_TO := cIMPORTE_TO
AUTOS->Recibo1 := rRecibo1
AUTOS->Recibo2 := rRecibo2
oBrw:upstable()
oBrw:refresh()
------------------------------------- y pasa esto
Application
===========
Size: 2,301,952 bytes
Time from start: 0 hours 0 mins 19 secs
Error occurred at: 03/02/2007, 19:13:29
Error description: Error BASE/1004 Message not found: TXBROWSE:UPSTABLE
Stack Calls
===========
Called from __ERRRT_SBASE(0)
Called from HBOBJECT:ERROR(179)
Called from __EVAL(105)
Called from HBOBJECT:MSGNOTFOUND(0)
Called from TXBROWSE:UPSTABLE(169)
Called from GUARDAR(1618)
Called from AUTO_C(1438)
Called from AUTO_B(1366)
Called from ALTA(1227)
Called from ALTASINO(881)
Called from (b)MAIN2(530)
Called from TBTNBMP:CLICK(0)
Called from TWINDOW:LBUTTONUP(0)
Called from TWINDOW:HANDLEEVENT(0)
Called from TWINDOW:HANDLEEVENT(0)
Called from _FWH(3109)
Called from DIALOGBOX(0)
Called from TDIALOG:ACTIVATE(0)
Called from MAIN2(678)
Called from (b)MAIN(207)
Called from (b)ADDITEM(0)
Called from TBTNBMP:CLICK(0)
Called from TWINDOW:LBUTTONUP(0)
Called from TWINDOW:HANDLEEVENT(0)
Called from TWINDOW:HANDLEEVENT(0)
Called from _FWH(3109)
Called from WINRUN(0)
Called from TWINDOW:ACTIVATE(878)
Called from MAIN(265)
Gracias
Aida