# Re: Rdo can access local machine databases?i am vb beginner,please Mr xiaowu help me

Posted by AndyLin on September 11, 1998 at 11:43:25:

In Reply to: Rdo can access local machine databases?i am vb beginner,please Mr xiaowu help me posted by wen on September 11, 1998 at 09:21:48:

: ivate form_load()
: dim rdodb as rdoengine
: dim rs as rdoresultset
: set rdodb=rdoengine.rdoenvironments(0).openconnection("yuan1")
: ssql="delete row from code"
: set rs=rdodb.openresultset(ssql,rdopenkeyset) 1 line
: rs.MoveFirst
: While Not rs.EOF
: rs.MoveNext
: Debug.Print rs.rdocolumns(0)
: Wend
: rs.Close
: rdodb.Close
: I have add dsn in contrl panel
: dsn:yuan1(c:db1.mdb)
: in menu project of rerfence
: add rdo control object 2.0 etc.
: I use vb6 enterprise edition on system win95
: I can update success,
: but errors:have no cusor type and
: cusor closed.in 1 line

:
: please Mr Wu help me?

确定一下资料库是否支援你目前所设定之 cursor type

Follow Ups:

- I don't know that where the database is viewed cusor type? wen 10:07:48 9/14/98 (0)