Your query doesn't make any sense. Care to explain what you are trying to accomplish? And is it VFP or SQL Server?
>
>I am going crazy as to why the following give an error:
>
>
>select * from mytable where case when mytable.order_no > 0 then 1=1 else 1=0 end
>
>
>What is missing in the above?
>
>TIA
--sb--