Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Zap/Dele All - no packing
Message
 
 
À
29/02/2016 20:52:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01632301
Message ID:
01632317
Vues:
61
After USE Bookings in 0

add

SELECT Bookings
ZAP

>Existing table..
>
>Here's the code:
>
>SET SAFETY OFF
>SET EXCLUSIVE on
>USE bookings IN 0 EXCLUSIVE &&I have tried it with and without the exclusive clause. Makes no difference.
>DELETE ALL
>PACK
>IF ISEXCLUSIVE( ) &&Just to check if there is exclusivity.
> MESSAGEBOX('Table opened exclusive')
>ELSE
>  MESSAGEBOX('Not opened exclusively')
>ENDIF
>SET EXCLUSIVE OFF
>SET SAFETY ON
>
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform