Dear Mr. Rao,
How can we automatically update an xBROWSE if someone in the network has changed a data record?
Best regards,
Otto
Dear Mr. Rao,
How can we automatically update an xBROWSE if someone in the network has changed a data record?
Best regards,
Otto
//------------------------------------------------------------------------------
METHOD TimerDetail( oSender ) CLASS TFormVentas
 LOCAL nTotRecno
 nTotRecno:= oMySQLDS:Query("SELECT count(*) AS nTotRecno FROM ventas_historico")
 IF nTotRecno!= ::oSQLVentas:RecCount()
   ::oSQLVentas:Refresh()
 ENDIF
 ::oTimerDetalStop()
RETURN NilOtto wrote:Dear Mr. Rao,
How can we automatically update an xBROWSE if someone in the network has changed a data record?
Best regards,
Otto
I wonder if a timer running on the background will slow down the general performance of the computer ?
Dear Mr. Rao,
Thank you so much.
Do I create the timer in the function where xBrowse is local and destroy it after closing the function?
Would 1 sec. be ok?
Best regards,
Otto
Otto,
It is going to be continuously updating if it takes more than one second to redisplay the entire browse (especially if you are doing this over the internet).
Consider instead, just adding a Refresh button.


