>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.