Re: Problem querying data from Access
From: fix (fix_at_somewhere.com)
Date: 08/19/04
- Next message: Mike: "Access 2000 and creating stored procedures"
- Previous message: joker: "Re: [DBNETLIB][ConnectionRead (WrapperRead()).]General network error."
- In reply to: joker: "Re: Problem querying data from Access"
- Next in thread: Bob Barrows [MVP]: "Re: Problem querying data from Access"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 18 Aug 2004 23:18:46 -0500
Thanks for replying, but none of them seems to work for me.
-- "joker" <no-spam@netzero.com> ???????:uBYWgAQhEHA.2952@TK2MSFTNGP09.phx.gbl... > http://www.aspfaq.com/show.asp?id=2009 > > fix wrote: > > Hi all, > > > > I am trying to pull information by query using a pretty long SQL (feeding it > > by ADOConnection.Execute). I get this error: > > > > 0x80004005 > > Unspecified error > > > > If I change that to a simple "SELECT * FROM table", it won't happen. > > > > I put it in view so that I can call the view instead of using the long SQL, > > but again, I failed. > > I tried "SELECT * FROM view_name", "view_name", "EXEC view_name" that I > > found in Google, I got another error: > > ADODB.Recordset (0x800A0CC1) > > Item cannot be found in the collection corresponding to the requested name > > or ordinal. > > > > From another Google site, I tried what it have, using a Command Object: > > > > Set cmd = Server.CreateObject ("ADODB.Command") > > cmd.ActiveConnection = AdoConn > > cmd.CommandText = "view_" & astrPosition(i) > > Const adCmdStoredProc = &H0004 > > cmd.CommandType = adCmdStoredProc > > Set Rs = cmd.Execute > > > > Still the same error. > > Any clues? > > > > Thanks! > > fix. > > -- > > > > > > >
- Next message: Mike: "Access 2000 and creating stored procedures"
- Previous message: joker: "Re: [DBNETLIB][ConnectionRead (WrapperRead()).]General network error."
- In reply to: joker: "Re: Problem querying data from Access"
- Next in thread: Bob Barrows [MVP]: "Re: Problem querying data from Access"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|