Is it possible to refresh datagrid on a set time interval? datagrid's
recordsource is either cursor or table.
Thanks for you time
Char
Hi Char -
Yes. Do you mean Vfp's native Grid class? If so, it depends on the
grid.RecordSource type - if it's a Local/Remote View, you can
Requery(theGrid.RecordSource), similar for CursorAdpaters.
If it's a table DBF alias, you can (take a look Set Refresh in Help and)
do a theGrid.Refresh() in yourTimer.Timer().
If it's a temporary cursor, e.g. a "Select ... Into Cursor ..." result,
you'd
need to recreate it - in the latter case, you'll also need to care for
"grid reconstruction", see also http://groups.google.com/advanced_search
hth
-Stefan
Mainly, it will be a table or a cursor. I will dig more based on your
suggestion. Thanks for your time.
Char