Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Msg - File must be open Exclusively
Message
From
25/05/1998 13:53:42
 
 
To
25/05/1998 13:38:26
Tan Gay Cheong
Cybercomp Computer Services
Singapore, Singapore
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00101714
Message ID:
00101719
Views:
22
>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
Map
View

Click here to load this message in the networking platform