Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use alias with deleted off
Message
De
31/10/2008 13:37:11
 
 
À
31/10/2008 04:51:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01358574
Message ID:
01358719
Vues:
14
>Hi
>Default 'Deleted' setting is on.
>Can I work on same table twice- one alias as 'deleted off' and other 'deleted on' without to explicit 'set deleted' again and again?
>Thanks
There are probably (almost certainly) better ways but the first thing that came to mind is to do something like
SET DELETED OFF
USE myTable ALIAS allrecords
SELECT 0
USE myTable AGAIN ALIAS notdeleted
SET FILTER TO NOT DELETED()
It may not be pretty, but I think it works.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform