A
Andy Williams
I'm developing a purchasing program which will require
access to a large amount of existing data. This data is
stored in a single table. It has 108 fields, and each row
represents a single PO. I've written code to convert this
to seperate header and detail tables, and it works... for
the most part.
In a nutshell, I'm using ADO to open 3 recordsets, I loop
through the source recordset and set the appropriate
fields in the destination recordsets (header and detail).
Problem is, it is horribly slow because its loading the
entire source recordset onto the client. I've never
gotten it to (or allowed it to) complete using the entire
table. Access memory usage gets up over 500mb and I give
up. It works fine when I run the code on a smaller
recordset (1000 records).
So my question is, is there any more efficent way to do
this? By my calculations, the detail table will end up
around 2 million records when I'm done, so we are dealing
with a large amount of data.
I chose not to post the code because it wraps horribly,
but if you'd like to take a look at it, I would be glad to
send it.
Thanks in advance.
Andy
access to a large amount of existing data. This data is
stored in a single table. It has 108 fields, and each row
represents a single PO. I've written code to convert this
to seperate header and detail tables, and it works... for
the most part.
In a nutshell, I'm using ADO to open 3 recordsets, I loop
through the source recordset and set the appropriate
fields in the destination recordsets (header and detail).
Problem is, it is horribly slow because its loading the
entire source recordset onto the client. I've never
gotten it to (or allowed it to) complete using the entire
table. Access memory usage gets up over 500mb and I give
up. It works fine when I run the code on a smaller
recordset (1000 records).
So my question is, is there any more efficent way to do
this? By my calculations, the detail table will end up
around 2 million records when I'm done, so we are dealing
with a large amount of data.
I chose not to post the code because it wraps horribly,
but if you'd like to take a look at it, I would be glad to
send it.
Thanks in advance.
Andy