以下是引用sunredday在2003-5-13 15:13:49的发言:
这才是正确的连接!!!!!!!!!!!!!!!!!!
MsgBox "Opening Connection1..."
Set conPubs = wrkODBC.OpenConnection("newconnectionname", _
dbDriverNoPrompt, True, _
"ODBC;DSN=MQIS;Description=SQL Server;APP=Microsoft? Access;WSID=PIC-FTJKAEDP4ZE;DATABASE=pubs;Trusted_Connection=Yes")
欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) | Powered by Discuz! X3.3 |