Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - ADODB.Recordset (0x800A0BB9) error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ADODB.Recordset (0x800A0BB9) error

 Post Reply Post Reply
Author
ub3rl337ch3ch View Drop Down
Senior Member
Senior Member
Avatar

Joined: 16 February 2005
Location: Australia
Status: Offline
Points: 341
Post Options Post Options   Thanks (0) Thanks(0)   Quote ub3rl337ch3ch Quote  Post ReplyReply Direct Link To This Post Topic: ADODB.Recordset (0x800A0BB9) error
    Posted: 01 May 2005 at 10:59pm
i get a "Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another." error when i run either of the two following bits of code:
 
sql = "SELECT Custname FROM Customer"
vrec.Open sql, adoCon
 
sql = "SELECT Consult, Locked FROM Consultant"
vrec.Open sql, adoCon
 
but i only get this error after running the following code:
 
sql = "UPDATE Consultant SET Counter = 0 WHERE Consult='" & consult & "'"
adoCon.Execute sql, adoCon
 
any ideas?


Edited by ub3rl337ch3ch - 01 May 2005 at 11:10pm
Back to Top
Lofty View Drop Down
Newbie
Newbie
Avatar

Joined: 03 April 2005
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lofty Quote  Post ReplyReply Direct Link To This Post Posted: 02 May 2005 at 6:45am
adoCon.Execute sql, adoCon is incorrect.  should be just
adoCon.Execute sql without the second adocon put on the end.
Back to Top
ub3rl337ch3ch View Drop Down
Senior Member
Senior Member
Avatar

Joined: 16 February 2005
Location: Australia
Status: Offline
Points: 341
Post Options Post Options   Thanks (0) Thanks(0)   Quote ub3rl337ch3ch Quote  Post ReplyReply Direct Link To This Post Posted: 02 May 2005 at 7:17pm
duh.... thanks... me be much stoopid... its all this using rs's, i'm used to writing ", adoCon" after sql... Tongue
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.