Rob, the following is my code...still having problems. Could you please take a look? :sigh: :^) OleDbConnection con = new OleDbConnection(strConnection); OleDbConnection con2 = new OleDbConnection(strConnection2); con.Open(); con2.Open(); string strSQL = "INSERT INTO First_Table([OID]) values (@OID)"; string strSQL2 = "Select [OID] From First_Table"; OleDbCommand cmd2 = new OleDbCommand(strSQL2,con2); OleDbCommand cmd = new OleDbCommand(strSQL,con); OleDbDataReader dr = cmd.ExecuteReader(); while (dr.Read()) { try { cmd.Parameters.Add (new OleDbParameter("OID",dr[0].ToString())); cmd.ExecuteReader(); } catch (Exception err) { string str=err.Message; bNoError=false; } finally { if (con.State.ToString() == "Open") con.Close(); if (con2.State.ToString() == "Open") con2.Close(); }
L²+D