B
Bernie Yaeger
I have a conversion routine which generates new rows into an sql server 2000
table from a .dbf file. I open both tables, one using the odbc driver, the
other sqlclient; I have a commandbuilder for the sql table. I loop through
the .dbf file in a for each irow loop and add rows as I loop.
Here's the strange part: I do not call update until after the for loop
completes. Yet I can go into sql query analyzer while the function is
running and do 'select count(*) from histd' and see it incrementing as it
goes - 45,000 rows; now 45,522 rows, etc. But I don't call update in my vb
..net code until the loop finishes, and it's not yet finished, as I am adding
750,000 rows! How can the rows be added to the back end while the loop is
running yet I have not yet called update?
Thanks for any help.
Bernie Yaeger
table from a .dbf file. I open both tables, one using the odbc driver, the
other sqlclient; I have a commandbuilder for the sql table. I loop through
the .dbf file in a for each irow loop and add rows as I loop.
Here's the strange part: I do not call update until after the for loop
completes. Yet I can go into sql query analyzer while the function is
running and do 'select count(*) from histd' and see it incrementing as it
goes - 45,000 rows; now 45,522 rows, etc. But I don't call update in my vb
..net code until the loop finishes, and it's not yet finished, as I am adding
750,000 rows! How can the rows be added to the back end while the loop is
running yet I have not yet called update?
Thanks for any help.
Bernie Yaeger