Instead of doing cnn.execute, try this instead

rs.Open cnnSql, db, adOpenKeyset,
adLockBatchOptimistic


--- "Unicorn.PC.Support"
<[EMAIL PROTECTED]> wrote:

> I am currently working on a project which requires
> the interrogation of an interbase database.  
> I have downloaded and installed some ODBC drivers
> which work fine in Access 97.  
> I have tested my SQL in IBconsole and it works fine.
> 
> The problem is that when I move to the VB
> development environment, and open the recordset
> everything works fine until I do a move first, at
> which time I get an error that move first of object
> '_recordset' failed.
> 
> The code to open the recordset, which does not
> return any errors is
> 
>         Set Rs = cnn.Execute(cnnSql)
> 
> Any suggestions would be most welcome.  I am off to
> try the same code under DAO, as everything works
> with Access I think it will be Ok under DAO, but
> this is an ADO project and I would really like to
> use just ADO.   I hate mixing ADO and DAO in the one
> project, leaves to much room for error in
> declarations
> 
> Matt
> 
> 
> 
> [Non-text portions of this message have been
> removed]
> 
> 



                
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/k7folB/TM
--------------------------------------------------------------------~-> 


'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [EMAIL PROTECTED]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to