Re: Recovering from an updatebatch error with a clone
- From: Brian Bushay TeamB <BBushay@xxxxxxxxx>
- Date: Sat, 29 Oct 2005 19:54:21 -0500
> dstMaster.LoadFromFile('vouchm.adtg');
> dstDetail.LoadFromFile('vouchd.adtg');
>
> dstMaster.Open;
> dstMaster.Edit;
> dstDetail.Open;
Loadfromfile and Open are incompatible.
LoadfromFile opens the dataset using the contents of the file.
Open opens the dataset using records retrieved from the database connection.
So with the above code you loose all the previous edits that you saved with
saveTofile because you over write them with the records in the database.
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.
- Follow-Ups:
- Re: Recovering from an updatebatch error with a clone
- From: damian marquez
- Re: Recovering from an updatebatch error with a clone
- References:
- Recovering from an updatebatch error with a clone
- From: damian marquez
- Re: Recovering from an updatebatch error with a clone
- From: damian marquez
- Re: Recovering from an updatebatch error with a clone
- From: Brian Bushay TeamB
- Re: Recovering from an updatebatch error with a clone
- From: damian marquez
- Recovering from an updatebatch error with a clone
- Prev by Date: ARITHABORT problem
- Next by Date: Re: Pb while closing ADO query
- Previous by thread: Re: Recovering from an updatebatch error with a clone
- Next by thread: Re: Recovering from an updatebatch error with a clone
- Index(es):
Relevant Pages
|