Question on TDataset best practices
- From: Mark Edwards <Mark-Edwards@xxxxxxxxxxx>
- Date: Fri, 05 Aug 2005 13:57:28 -0500
I am working on a program that needs to fetch records from a database,
and then needs to process each of those records in turn. I am torn on
how best to do this.
My current thinking is to separate fetching and processing like so:
1 - Call a function that fetches records and returns a dataset.
2 - Call one or more procedures to process dataset records,
passing the dataset as a const parameter each time.
Or, is it better to do the processing as records are being fetched?
Right now, the 'processing' is thinly specified, but will probably
involve several other table lookups, and several steps per record,
before eventually writing each record to one or more tables.
Thanks,
Mark Edwards
.
- Prev by Date: Re: DB drop down list on delphi.net 8
- Next by Date: Re: DB drop down list on delphi.net 8
- Previous by thread: Re: DB drop down list on delphi.net 8
- Next by thread: Faster BatchMove Solution
- Index(es):
Relevant Pages
|
Loading