# 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?

Follow Ups:

- Re: Rdo can access local machine databases?i am vb beginner,please Mr xiaowu help me AndyLin 11:43:25 9/11/98 (1)
  - I don't know that where the database is viewed cusor type? wen 10:07:48 9/14/98 (0)