Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Msg - File must be open Exclusively
Message
De
25/05/1998 13:53:42
 
 
À
25/05/1998 13:38:26
Tan Gay Cheong
Cybercomp Computer Services
Singapore, Singapour
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00101714
Message ID:
00101719
Vues:
24
>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
Fil
Voir

Click here to load this message in the networking platform