>I found another alternative:
>
>
>PRIVATE plValue
>plValue= .F.
>
>Select ?plValue AS MYFIELD
>
Check that in a profiler. I guess you get something like
exec sp_executesql 'select @p1 as myfield', '@p1', 0
sent to the SQL. IOW I'm not sure it gets cast as bit when sending like this. Perhaps there's a declaration of '@p1 bit'... better check.