I deleted some records from my grid, I want them to be totally remove (pack) from my database the moment I exited from the system. Can you please tell me what to do? Thanks.
oldWorkArea=select(0) && mark my place
use yourTable in yourTableAlias exclusive
select yourTable
pack
use yourTable in yourTableAlias shared
select (oldWorkArea)
thisform.refresh
This will open your table exclusively, delete the records marked for deletion, reopen the table shared, and then refresh the form to update the grid.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.