| 发表于:2007-02-06 14:39:09 楼主 |
dim sql as string dim str as string dim path as string path = app.path if right(str, 1) <> "\ " then str = str + "\ " else str = str end if str = "provider=microsoft.jet.oledb.4.0;;persist security info=false " sql = "select * from information " adodc1.recordset.open sql, str, adopenkeyset, adlockpessimistic 我想在information中查询所有字段、记录,使用的是adodc,执行后提示“对象打开时,不允许操作”,请问怎么回事啊? |
|
|
|
|