# MSRDC

Posted by Satan Chuang on August 14, 1997 at 19:22:10:

请问以下这段程式有错吗？执行到最后一行时却出现"物件不正确的讯息".
注：MSRDC1 没有修改任何设定.

Dim mycon As New rdoConnection
Dim myqry As rdoQuery
mycon.Connect = "dsn=sweb;uid=sa;pwd=;"
mycon.EstablishConnection rdDriverNoPrompt, False
Set myqry = mycon.CreateQuery("a", "select * from emp")
Set MSRDC1.Resultset = myqry.OpenResultset

Follow Ups:

- Re: MSRDC 小吴 03:01:19 8/16/97 (0)