Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Set
Miscellaneous
Thread ID:
00476092
Message ID:
00476203
Views:
18
>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
________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform