A
Acheron
Hello,
Working on a table counting about 12'000 rows, I have the following issue :
I use a DSum function inside a Make table query adding a column containing a
total based on specific criteria to each of these rows. The thing is that the
query takes a huge amount of time to complete its task and create the new
table. In the past, I transposed the DSum function & result in SQL. But in
this case, I need two identical tables to perform this operation. This
solution can't be used anymore due to size issues.
Then, I am wondering if it would be more "efficient" to work through VBA &
Recordsets. More precisely, would it be possible (and faster) to take the
content of the original table and store it in a recordset, perform the DSum
function and save the result in a new table ?! If expecting a significant
speed difference in the data treatment... how could I do it ? Any suggestions
or related web page would be great. TIA for your cooperation.
Acheron
Working on a table counting about 12'000 rows, I have the following issue :
I use a DSum function inside a Make table query adding a column containing a
total based on specific criteria to each of these rows. The thing is that the
query takes a huge amount of time to complete its task and create the new
table. In the past, I transposed the DSum function & result in SQL. But in
this case, I need two identical tables to perform this operation. This
solution can't be used anymore due to size issues.
Then, I am wondering if it would be more "efficient" to work through VBA &
Recordsets. More precisely, would it be possible (and faster) to take the
content of the original table and store it in a recordset, perform the DSum
function and save the result in a new table ?! If expecting a significant
speed difference in the data treatment... how could I do it ? Any suggestions
or related web page would be great. TIA for your cooperation.
Acheron