Err = DeleteAll() problem

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Jul 28 11:45:46 CDT 2004


On 7/28/04 10:55 AM, "Peter De Berdt" <peter.de.berdt at pandora.be> wrote:

>>> V4RB.rbx both Windows and Mac IDE latest plugin downloaded
>>> 
>>> Cur = APP.DB.SQLSelect("Select * from Table1")
>>> If Cur.RecordCount > 0 then
>>> Err = Cur.DeleteAll()
>>> App.DB.Flush
>>> End if
>>> 
>>> This works fine but if you narrow your search down...
>>> 
>> 
>> this seems to be a query for a read only cursor...
>> can we successfully delete all even if cursor is a read only one?
>> 
>> this is odd
>> 
> This is in fact true, I also had to go through all my SQLSelects in one
> of my older apps (that used V4RB 1.8) and changed them to:
> 
> Cur=App.DB.SQLSelect("SELECT
> blablabla",kv_client,kv_readwrite,kv_random)
> 
> The strange thing is that some operations (although they normally
> shouldn't) do work when you're not adding the extra parameters.

For example, Peter?

I hear about such problem first time.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list