Re: In-Memory Dataset



Michelle,

Take a look at using TClientDataSet in a 2-tier model..

http://community.borland.com/article/0,1410,22571,00.html
and
http://community.borland.com/article/0,1410,20847,00.html

...and don't fetch the next available number until you are ready to apply the
insert (the BeforeUpdateRecord event in the TDataSetProvider).

Good luck,
krf

"Michelle Brennan" <mibi222@xxxxxxxxxxx> wrote in message
news:435ef28d$1@xxxxxxxxxxxxxxxxxxxxxxxxx
>
> I think I figured out a way to do BatchOptimistic Master-Detail
> Inserts with sequential non-skipping ID numbers (for Order /
> Invoice application). It's a work-around but I think it will
> work.


.



Relevant Pages