readonly cursor???

Ivan Smahin IvanSmahin at public.kherson.ua
Wed Oct 12 13:40:29 CDT 2005


Hello Aart,

Wednesday, October 12, 2005, 1:33:32 PM, you wrote:

AJvdL> Hi,

AJvdL> I'm a bit puzzled about this:
AJvdL> since 2.0.5 this code

AJvdL>         gDB.sqlSelect(SQLQ,#kClientSide, #kReadWrite, #kRandom)

AJvdL> gives me readonly cursors!

ClientSide cursors are always read-only.

AJvdL> If I just change #kClientSide in #kServerSide I get the error 'Record
AJvdL> "UNKNOWN" is locked in table "teksten"', and I'm not alowed to check for
AJvdL> isReadOnly on the cursor....

So another cursor locks some of the records with any lock's type.
( Seems to be read-only type. )

Check the RecordLocks example please.

-- 
Best regards,
 Ivan                            mailto:IvanSmahin at public.kherson.ua



More information about the Valentina mailing list