>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement