V4RB: Problem with UpdateRecords

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Jul 24 23:26:44 CDT 2003


on 7/24/03 22:14, Claudius Sailer at Claudius at sailer-online.de wrote:

> Hi,
> 
> Am Donnerstag, 24.07.03, um 21:03 Uhr (Europe/Berlin) schrieb Ruslan
> Zasukhin:
> 
>> I have check sources. It seems all right here.
>> 
>> I have only one idea -- when you try update a a record using
>>     BaseObject.UpdateRecord()
> 
> I am using
> 
> res=meineDatenbank.TUserDB.GoToRecID(ControlRecID)
> meineDatenbank.TUserDB.Vorname.value=UnicodeToASCII(EditField1(0).text.t
> rim)
> meineDatenbank.TUserDB.UpdateRecord
> 
> 
>> Don't you have at least one cursor that SELECT that record?
>> If you have such cursor then Record is locked.
>> 
>> Please check this point.
> 
> Is this new feature?

YES !!!

We have discuss it a lots last 2-3 weeks on list.


> I have a cursor for the ListBox where I can see
> all Users-Name and Shortname.
> 
> I will check this. In 1.9.7 no problem everything works. I have only
> the problem with 1.9.8b>15.

I think you need simply add to your cursor

    curs = db.SqlSelect( query,  kV_Server, kV_NoLocks )
                                ^^^^^^^^^^^^^^^^^^^^^^^^^
-- 
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