Subject Re: [IBO] Two datasets, One inserted, Other updated fetching only the inserted
Author Helen Borrie (TeamIBO)
At 08:44 AM 08-05-02 -0300, you wrote:
>Hi,
>
>I'm using two datasets to deal with large tables. One read-only dataset with
>few collumns for the grid, and other with all collumns, details datasets,
>lookups, calc fields, for editing the current record of the grid dataset.
>
>What I'm trying to achieve is the insertion of the newly created row in the
>buffer of the grid dataset when it get inserted in the Edit dataset,
>simulating the insertion
>in the grid dataset.

Another approach is more effective, I think - use a single dataset for both
your read-only grid and your edit layout - then there will be no
synchronisation problem, even when the read-only grid is scrolled. You can
set the VISIBLE property to False for the columns which you do not want to
appear in the grid - that will not affect those columns' ability to be
edited on your edit layout.


regards,
Helen Borrie (TeamIBO Support)

** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com