Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Set
Divers
Thread ID:
00476092
Message ID:
00476203
Vues:
17
>I am looking at some code that another person wrote:
>IF (contri.csource="P")
>
>then do some
>else
>endif
>what my problem is that contri.csource is a eight character field in which some case it may begin with "P" or whatever. However the code is not catching this I have set exact off what other setting could I have on that wouldn't catch this when say for instance contri.csource = "PXXXX"
>
>Thanks
>
>Milt

If you want those that begin with "P"
IF LEFT(contri.csource,1) = "P"
   WAIT WINDOWS "Begin with 'P'"
ELSE
   ...
ENDIF
Luis María Guayán
Tucumán, Argentina
________________________________
SysOp de www.PortalFox.com
Nada corre como un zorro
________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform