>>>Is there a way to see or attach a progress bar on TABLEUPDATE()?
>>
>>I'm assuming you want this because you would be writing numurous records to disk with the table update. If so, how about using begin/end trans with getnextmodified, tableupdate() and code to update a progress bar? HTH
>
>
>Is there a way to determine how many records are buffered to be updated in a tableupdate()?
Use GETNEXTMODIFIED() in a DO WHILE loop like so:
mnnextmod=GETNEXTMODIFIED(0)
IF mnnextmod#0
mnupdates=1
DO WHILE .T.
mnnextmod=GETNEXTMODIFIED(mngetnextmod)
IF mnnextmod=0
EXIT
ENDIF
mnupdates=mnupdates+1
ENDDO
ENDIF
HTH
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.