Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String Contained in Field Name
Message
De
31/10/2001 22:39:32
Jonathan Cochran
Alion Science and Technology
Maryland, États-Unis
 
 
À
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:
00575992
Vues:
16
This message has been marked as the solution to the initial question of the thread.
Pretty interesting. I was playing around with it, and it **appears** that doing something like the following will work.
SET FIELDS TO ALL LIKE *PD*
BROWSE
SET FIELDS TO
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform