[VSDK] Can't update boolean

Arthur Clemens aclemens at xs4all.nl
Fri Nov 21 21:37:58 CST 2003


On 21-nov-03, at 19:51, Ruslan Zasukhin wrote:

> on 11/21/03 6:37 PM, Arthur Clemens at aclemens at xs4all.nl wrote:
>
>>>
>>>
>>> I will check today later.
>>
>> Any idea already?
>
> Arthur,
>
> I have create simple db with one table and 2 fields.
>
> Now in viSQL I do

What is viSQL?


>
> update [object 1] set a = 1 where b > 4
>
> And it works fine.
>
> Then I try
>
> update [object 1] set a = FALSE where b > 4
>
> And it also  work fine.
>
>
> So please try do your query from visQL against your db.
> If this works, then may be in C++ code you have forget to make cursor
> ReadWrite?

Why would that be a problem with VDK_Booleans and not with VDK_Shorts?

I can send you the modified Example 1, with the code I posted earlier.

General note: the docs are not that explicit in when/how to use cursors 
and read/write locks with SQL queries.

Arthur





More information about the Valentina mailing list