Update problem

Bart Pietercil bart.pietercil at gmail.com
Tue Mar 6 12:19:06 CST 2007


On 6-mrt-07, at 18:42, Ruslan Zasukhin wrote:

> On 6/3/07 7:02 PM, "Bart Pietercil" <bart.pietercil at gmail.com> wrote:
>
>> Hi List,
>>
>> this query
>>
>> UPDATE organisation_cells SET oc_parent_ptr= ? WHERE recid = 21
>>
>> binded with the array() as String ("NULL")
>>
>> sets the record = 0 (the value not NULL)
>>
>> Thus invalidating the db
>>
>> what am I doing wrong
>> the wiki states that this is possible to do
>
> What about
>
>     array that contains string nil
>
>     arr(0) = nil
>
Nope same problem pointer is set to value 0

Bart


More information about the Valentina mailing list