>hi all,
>
>i try via this code under i get erroe message Operator/operand type mismatch
>
>thisform.text1.Value=GETFILE("dbf")
>for p_count=1 to 4
>file_name="session_nu"+alltrim(str(p_count))
>select * from (thisform.text1.value) where session_nu=p_count into table (file_name)
>next
>
>
>thanks
Most likely session_nu is not numeric. And by the way, you can simplify the line file_name="session_nu"+alltrim(str(p_count)) to file_name="session_nu"+transform(p_count). And add a space between table and (file_name)