>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.comNada corre como un zorro
________________________________