... with SQL .. Recordsets can be added to or edited one record at a time and when a committ is made all I do is issue oRs:Update(), and perhaps a SysReFresh() and I have never had any visability problems even in large networks .. The only reason I use dbfcdx is to write temporary data to use in ...
... "activate" call of DoCloseWindowAndDBF() when "Timeout" --- HMG use DOEVENTS which "seem" me equivalent to Fivewin SysRefresh() it use TranslateMessage( &Msg ) and DispatchMessage( &Msg ) to get Event from Queue HB_FUNC ( DOEVENTS ){ MSG Msg; ...
... a Softgestion.pe" DEFAULT lMsgOff:=.T. IF MEMVAR->oConex <> nil.AND.MEMVAR->NTIMER>0 WaitOn(cTitulo,@oWait) SysRefresh() oQry:=MEMVAR->oConex:Query("SELECT 1") WaitOff(@oWait) IF oQry:RecCount()==0 MsgWait("Reconectando con el servidor...",cTitulo,3) ...
Me parece que la llamada manual de sysrefresh y el recolector no es necesario, dado que internamente al asignar NIL a la variable contenedora de un objeto query esto hace que se dispare una función de MySQL en C que cierra la consulta y llama ...