Subject | Re[2]: [IBO] Re: Prepare in IBquery - Help me!!!! |
---|---|
Author | Carlos H. Cantu |
Post date | 2001-01-02T16:25:55Z |
Thanks for the correction Jason !
[]s
Carlos
WarmBoot Informatica - http://www.warmboot.com.br
Interbase-BR - http://www.interbase-br.com
JW> control somehow references the CanInsert, CanEdit or CanDelete properties.
JW> If there are not sufficient privileges then the error to inform the users
JW> takes place. Simply having an IB_UpdateBar will cause these to get accessed.
JW> HTH,
JW> Jason Wharton
JW> CPS - Mesa AZ
JW> http://www.ibobjects.com
[]s
Carlos
WarmBoot Informatica - http://www.warmboot.com.br
Interbase-BR - http://www.interbase-br.com
>> > Jason told me that the reason of ALL the stataments beingJW> know
>> > prepared when the
>> > Query is opened is because some IBO controls (Like
>> > IB_UpdateBar, etc...)
>> > needs to know if the user can insert/update/etc...
>>
>> That sounds to me like a strange design decision. If a control needs to
>> this (?) then let it call Prepare explicitly. The documentation shouldJW> warn
>> the developer about it. But I would still try to avoid this if possible.JW> something
>> Please, no offence meant. I'm an IBO newbie, and I may be missing
>> very important here.JW> They are not prepared when the query is opened. They are prepared when some
>> All comments are very welcome.
JW> control somehow references the CanInsert, CanEdit or CanDelete properties.
JW> If there are not sufficient privileges then the error to inform the users
JW> takes place. Simply having an IB_UpdateBar will cause these to get accessed.
JW> HTH,
JW> Jason Wharton
JW> CPS - Mesa AZ
JW> http://www.ibobjects.com