Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set
Message
From
14/02/2001 19:35:22
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Set
Miscellaneous
Thread ID:
00476092
Message ID:
00476095
Views:
27
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform