Subject | Re: [IBO] Cannot Locate To Update |
---|---|
Author | Markus Ostenried |
Post date | 2003-07-19T20:13:49Z |
At 15:44 Saturday, 19.07.2003 -0400, you wrote:
prepare an update statement for one record then a where clause must be
constructed that matches exactly this one record.
This is done by setting up correct KeyLinks. If you have KeyLinksAutoDefine
= false, then you need to supply correct KeyLinks yourself. With
KeyLinksAutoDefine = true, IBO itself tries to find unique keyfields. You
can make this easier for IBO if you define a primary key.
HTH,
Markus
>We added a primary key to the table and that seemed to fix it.IBO needs to be able to uniquely identify records. E.g. when it needs to
> Apparently IBObjects requires that you have a primary key.
prepare an update statement for one record then a where clause must be
constructed that matches exactly this one record.
This is done by setting up correct KeyLinks. If you have KeyLinksAutoDefine
= false, then you need to supply correct KeyLinks yourself. With
KeyLinksAutoDefine = true, IBO itself tries to find unique keyfields. You
can make this easier for IBO if you define a primary key.
HTH,
Markus