Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String Contained in Field Name
Message
De
31/10/2001 18:35:55
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00575887
Message ID:
00575941
Vues:
22
This message has been marked as a message which has helped to the initial question of the thread.
>I am trying to come up with a quick, effecient way of issuing a BROWSE... from the command window where I brow fields containing "xx" in their fieldname. For example, I want to browse all the fields in a table that have a "PD" in their fieldname. So I would browse MedPD, SurgPD but not browse FeeKey.
>
>Any suggestions?
SET FIELDS TO ALL LIKE ???PD
BROWSE
SET FIELDS TO
Won't work, because you have different number of characters before PD. But, much to my surprise, Set Fields is additive - which cost me several hours once to discover, but then I earned a few grays in return - so the code should look more like this (add lines as needed)
SET FIELDS TO ALL LIKE ?PD
SET FIELDS TO ALL LIKE ??PD
SET FIELDS TO ALL LIKE ???PD
SET FIELDS TO ALL LIKE ????PD
SET FIELDS TO ALL LIKE ?????PD
BROWSE
SET FIELDS TO

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform