Well I have actually gone a different direction with it now but would still
like to find a solution as I have other places it would be useful. the code
is basically as follows ( sorry no details allowed)
dim x as oledbconnection
dim y as oledbCommand
' I AM GOING TO PARAPHRASE THE CONNECTION STRING
x = new oledbconnection("Provider =Jet 4; data source=mydb;system database=
my system;userid=me;password=pw;ole db services=-4;persist security info =
false;
'TABLE IS ALREADY FILLED DataTable
x.open
for each row as dataRow in Table.Rows
'generate insert statement here
'execute insert statement here
end for
x.close
That's the code in a nutshell. Thanks for the help.
> ¤ I have seen a thread similar to this problem earlier in this thread
> ¤ unfortuantely did not really see a solution. My problem is as follows.
[quoted text clipped - 13 lines]
> ~~~~
> Microsoft MVP (Visual Basic)
Paul Clement - 13 Jan 2006 14:21 GMT
¤ Well I have actually gone a different direction with it now but would still
¤ like to find a solution as I have other places it would be useful. the code
¤ is basically as follows ( sorry no details allowed)
¤
¤ dim x as oledbconnection
¤ dim y as oledbCommand
¤
¤ ' I AM GOING TO PARAPHRASE THE CONNECTION STRING
¤
¤ x = new oledbconnection("Provider =Jet 4; data source=mydb;system database=
¤ my system;userid=me;password=pw;ole db services=-4;persist security info =
¤ false;
¤
¤ 'TABLE IS ALREADY FILLED DataTable
¤
¤ x.open
¤ for each row as dataRow in Table.Rows
¤ 'generate insert statement here
¤ 'execute insert statement here
¤ end for
¤
¤ x.close
¤
Well I don't see anything obvious unless you have another connection somewhere to the database. You
could take a peek at the .LDB file to see if it gives you any clues.
http://support.microsoft.com/default.aspx?scid=kb;EN-US;176670
Paul
~~~~
Microsoft MVP (Visual Basic)