>>Ok, I give up. How do I send a logical VFP value to a MSSql 2005 bit field.
>>
>>.T. and .F. don't work, 1 and 0 don't work, and even though SQL Server says it will take the string values of 'True' and 'False' (and it will in Management Studio), they don't work from VFP either.
>>
>>Any help is appreciated.
>
>
>
MyLogical1 = .t.
>MyLogical2 = .t.
>
>SQLExec(m.handle, "update mySQLTable set bitField1 = ?m.MyLogical1, bitField2 = ?m.myLogical2")
Cetin
Not SPT :-)
ADODB recordset.
Happy new year!
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.