Subject | Re: [IBO] Record was not located to update. |
---|---|
Author | Svein Erling Tysvær |
Post date | 2001-11-13T11:40:05Z |
Hi Omar!
to know what you do on the server? Basically, you tell IBO to insert a new
record - which it does, then you change its identifier ON THE SERVER
WITHOUT TELLING IBO, before asking IBO to change the record again. It's
like moving without telling anyone where you move and expect mail and
friends to find your new location.
To do what you want to do, you have to assign the PK at the client side.
IBO-wise this is normally done by using GeneratorLinks (I use the native
components and don't know how GeneratorLinks is used with the TDataset
components you seem to be using).
HTH,
Set
>Have a trigger After post to assign an PK counter.This is your problem (I assume you mean after insert). How is IBO supposed
to know what you do on the server? Basically, you tell IBO to insert a new
record - which it does, then you change its identifier ON THE SERVER
WITHOUT TELLING IBO, before asking IBO to change the record again. It's
like moving without telling anyone where you move and expect mail and
friends to find your new location.
To do what you want to do, you have to assign the PK at the client side.
IBO-wise this is normally done by using GeneratorLinks (I use the native
components and don't know how GeneratorLinks is used with the TDataset
components you seem to be using).
HTH,
Set