Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I delete records that meet particular criteria
Message
De
19/10/1999 17:41:59
Jorge Haro
Independent Consultant
Juarez, Mexique
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00278508
Message ID:
00278510
Vues:
18
Try this: DELETE FOR !("PLED" $ Field_a) AND !("CERTIFIED" $ Field_a)

>I am trying to delete a specific set of records that don't meet a particular criteria from my table. The code is as follows:
>
>DELETE FOR Field_a not LIKE '%PLED%' AND field_a NOT LIKE '%CERTIFIED%' IN DOWNLOAD_TABLE3
>
>and I get the following error message:
>
>command contains unrecognized phrase/keyword
>
>
>I am trying to delete all record that don't contain the word "CERTIFIED" OR 'PLED'. Is a problem using the operator LIKE? If so, is a another way of deleting records that don't match my criteria?
>Help appreciated.
>
>
>THanks
>Nick Patel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform