Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set
Message
De
14/02/2001 19:35:22
 
 
À
14/02/2001 19:30:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Set
Divers
Thread ID:
00476092
Message ID:
00476095
Vues:
26
>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

Is it one "=" or two "="? Should be only one.

Are you sure SET EXACT OFF is the setting? Is this a private datasession form the code is in? You have to make sure it's set OFF if it's a private datasession, or something might have turned it on in that form.


Are there any "invisible" characters in the field in front of the "P"?

I can't think of anything else that would cause it to not work correctly.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform