Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot Quit Visual Foxpro
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00201951
Message ID:
00202088
Vues:
19
>>Hi Ed,
>>
>>>Ranks up there with DELETE FOR DELETED(), certainly.
>>
>>But make sure you have an index on DELETED(), otherwise it's similar to WAIT WAITLONG. *g*
>
>I see we've finally found a good reason for an index on deleted() :)

Another, more serious, use would be to trigger the equivalent of a PACK when greater than a certain # or certain % of all records were DELETED().
LOCAL nDeletedCount
Select (cSomeAlias)
COUNT TO nDeletedCount FOR DELETED()
IF nDeletedCount > nSomeTriggerValue
   *  TIme to PACK the donuts...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform