Subject | Re: [IBO] can not locate record to update |
---|---|
Author | L.M. Bemmelmans |
Post date | 2003-07-30T14:44:33Z |
Helen,
I already use keylinks
keylinks:
myTable.ID
myTable.checkField
if checkfield has changed I get this exception, like expected.
I press cancel and edit/post again to see if it will update the second time
and then the line clears, sometimes without message, sometimes with message
"field ID is a required field", and that's because the row is made empty by
IBO
Leon
"Helen Borrie" <helebor@...> wrote in message
news:5.2.0.9.2.20030730235803.01bb2000@......
I already use keylinks
keylinks:
myTable.ID
myTable.checkField
if checkfield has changed I get this exception, like expected.
I press cancel and edit/post again to see if it will update the second time
and then the line clears, sometimes without message, sometimes with message
"field ID is a required field", and that's because the row is made empty by
IBO
Leon
"Helen Borrie" <helebor@...> wrote in message
news:5.2.0.9.2.20030730235803.01bb2000@......
> Leon,anymore.
>
> At 04:00 PM 30/07/2003 +0200, you wrote:
> >Hi,
> >
> >IBO generates a nice exception if a record to update can't be found
> >If it does it kind of erases the corresponding record from memory leavingan
> >empty row. ( TIBOquery )multiusercheck.
>
> Not exactly...
>
> >I would like to catch the exception and choose how IBO is to behave.
> >
> >I use an editSQL like "UPDATE ...SET ...WHERE id=:old_id AND
> >checkfield=:old_checkfield". I use "checkfield" to perform a
> >If checkfield has changed I want to cancel the update. It's very annoyingif
> >after the "can't locate record for update" message the line goes blank.all
> >
> >Is there a way to change this behaviour ?
>
> Yes, use KeyLinks, and don't design interfaces where your users can change
> the primary key. Then you can let IBO do what IBO does - keep track of
> your records. You don't need that stuff you're doing there - IBO does it___________________________________________________________________________
> itself.
>
> Helen
>
>
>
>
>
> IB Objects - direct, complete, custom connectivity to Firebird orInterBase
> without the need for BDE, ODBC or any other layer.___________________________________________________________________________
>
> http://www.ibobjects.com - your IBO community resource for Tech Infopapers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>