landie:你好! 可以用ado的单独的connection对象或联合recordset对象. dim cnn as new adodb.connection dim rst as new adodb.connection '以下是单独用connection cnn.open currentproject.connection cnn.execute "insert into RB (数据1,数据2,数据3) values("+cstr(a1)+","+cstr(a2)+","+cstr(a3)+")" cnn.execute "insert into RB (数据1,数据2,数据3) values("+cstr(b1)+","+cstr(b2)+","+cstr(b3)+")" cnn.execute "insert into RB (数据1,数据2,数据3) values("+cstr(c1)+","+cstr(c2)+","+cstr(c3)+")" '以下是connection和recordset联合运用 rst.open "RB",cnn, adOpenKeyset, adLockOptimistic rst.addnew with rst .fields("数据1")=a1 .fields("数据2")=a2 .fields("数据3")=a3 .update end with rst.addnew with rst .fields("数据1")=b1 .fields("数据2")=b2 .fields("数据3")=b3 .update end with rst.addnew with rst .fields("数据1")=c1 .fields("数据2")=c2 .fields("数据3")=c3 .update end with |