Hi!
What you meant 'at screen'? If user press 'DELETE' button, or delete record in the grid (there is appropriate event), use following code to assure user no longer see the record:
tableupdate(.T.)
if !eof()
skip
if !bof()
skip -1
endif
else
if !bof()
skip-1
else
go top
endif
endif
thisform.Refresh
If SET DELETED ON, record will go out of scope as soon as record pointer moved. You DO NOT NEED that damn PACK command, this is administrators command only, so never use it for user interface.
HTH.
>Nope. Thanks Vlad, but I'm still getting that message. I need the user to be able to delete the record on screen.
>Any other ideas?
>TIA
>Ulises
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.