>I try to delete a record from a toolbar, but got a error message
>" File Must be open Exclusively "
>
>What is going wrong?
>I did not set the table to open share. By default it should open exclusively..eight?
>
>The command in the toolbar, is
>
>delete
>pack
>_screen.activeform.refresh()
>
>is there anything wrong?
the status of exclusive depends on the SET EXCLUSIVE command and/or how uyou opened the table (USE DB!Table SHARED or USE db!Table EXCLUSIVE)
IAC you don't have to PACK the table everytime you delete a record from it
it will just take a long time if the tables get bigger
IF your problem is that you are seeing the deleted records unless you PACK try
SET DELETED OFF
Arnon
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only