[Gambas-user] Request property for gd.db.Result mode

BB adamnt42 at gmail.com
Mon Nov 14 05:20:05 CET 2022


Benoit,

Would it be possible that you could add a (readonly) property to the 
Result class to indicate the mode of that result?

I am passing some result objects between several classes in a project 
and sometimes they are updateable and sometimes not (on purpose). At the 
moment all one of these classes can do is to try to update the result 
and if it gets an error then re-read the result in a updateable mode and 
then do the update. This is extremely messy and requires up to three 
accesses to the database.

I have had a look at the CResult.c class but the level of C is well 
beyond my abilities.


tia

bruce



More information about the User mailing list