Subject Re: [IBO] Problem with Append in a IBOTable
Author lester@lsces.globalnet.co.uk
> Does your table have a primary key? NO

This may be a problem!

> Are you using GeneratorLinks? NO

The generator links would load the primary key, and then you
can get back to the record that has just been added.

? Should it have been ->

iboTable1.InternalDataset.RefreshAction := raKeepDataPos;

But you do really need a primary key in order for any
program to return to the record in question.

I had a bodge in one of my BDE programs that had to do a
locate after a refresh in order to get the record I had just
worked on back in view. It was removed in the IBO tidy up,
but part of that was to add Generator and Primary Key to
tables that were not otherwise readily accessable by other
means. If you have a unique record ID it makes life easier.

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services