m.var1=1101002
? SEEK(LEFT(TRANSFORM(m.var1),4))
m.var1=1108002
? SEEK(LEFT(TRANSFORM(m.var1),4))
hth
-Stefan
>Dear Experts
>
>Table1 has only one field as
>
>code c(7)
>
>data in table as
>
>1
>11
>1101
>1101001
>1101002
>1101005
>1101025
>1101088
>
>If m.var1=1101002 then
>How to verify the Root value in FOUR charcters against m.var1 is exists.
>
>I want to check if 1101 is exists or not.
>
>Please help