savbasql

sa-VBA访问局域网sql提问报错

03-11
问题描述 VBA访问局域网sql提问报错 访问本地没问题: conn.Open ""Provider=SQLOLEDB; User ID=sa;Password=123456;Initial Catalog=report;Data Source=.WINCC""改为访问服务器修改1:conn.Open ""Driver={SQL Server};Server=192.168.0.158;uid=sa;pass=123456;database=re