>Hello Naomi
>
>Thanks for your reply, but i think i discovered the problem:
>
>If I used a variable
>local myref as string
>myref = '0.600/'
>select bi
>go top
>scan
>if like ('myref*' , bi.ref)
>?bi.ref
>endif
>endscan
>
>nothing is display, but if i use the value:
>local myref as string
>myref = '0.600/'
>select bi
>go top
>scan
>if like ('0.600/*', bi.ref)
>?bi.ref
>endif
>endscan
>
>the value is display : 0.600/1182
>
>How to solve when i use a variable !?
>
>Many thanks
>Luis Santos
myRef = '0.600/'
if like (myRef+'*', bi.ref)
...
If it's not broken, fix it until it is.
My Blog