Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use alias with deleted off
Message
From
31/10/2008 13:37:11
 
 
To
31/10/2008 04:51:14
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01358574
Message ID:
01358719
Views:
16
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform