Ask a Question related to ASP Database, Design and Development.
-
eagletender #1
Using NextRecordset errors
Does rs.nextrecordset not work when using Access/Jet? I can get it to work
when I am connecting to a sql database but not an Access database.
Provider=Microsoft.Jet.OLEDB.4.0
My code is as follows:
set rsCakes = Server.CreateObject("ADODB.Recordset")
rsCakes.ActiveConnection = acConn
rsCakes.Source = "SELECT * from tblProducts; select * from
tblCategories"
rsCakes.CursorType = 2
rsCakes.CursorLocation = 2
rsCakes.LockType = 3
rsCakes.Open
rsCakes_numRows = 0
It errors on the rsCakes.Open with the error:
Microsoft JET Database Engine (0x80040E14)
Characters found after end of SQL statement.
Is there a way to do this? Thanks.
eagletender Guest
-
CF4.5 Errors in logs and Unix 111 errors!
:confused; Hi All, I have been getting a lot of Unix 111 errors and there are various errors in my coldfusion logs. I can't find any resources... -
sp_helplogins, nextrecordset
Hi, I am executing the sp_helplogins on my database, in an effort to obtain all the databases and roles a user has, for usage in an ASP menu of... -
supress errors at the page level? Undefined index errors.
I'm creating a simple reply form, and if a form item isn't answered I get an error: "Notice: Undefined index: rb_amntspent in... -
where are my errors?
Hi, all -- My partner and I have done something that gets rid of our error messages, and we're not quite sure what. The identical code base (I... -
Pop-up window errors:"translators not loaded due to errors"
I keep getting pop-up windows when using DWMX....any suggestions as to how to fix this type of error? The pop-up says: at line 16... -
Foo Man Chew #2
Re: Using NextRecordset errors
Maybe using a stored query, instead of a raw SQL statement?
"eagletender" <eagletender2001@yahoo.com> wrote in message
news:vinlvnnvus3i12@corp.supernews.com...work> Does rs.nextrecordset not work when using Access/Jet? I can get it to> when I am connecting to a sql database but not an Access database.
>
> Provider=Microsoft.Jet.OLEDB.4.0
>
> My code is as follows:
> set rsCakes = Server.CreateObject("ADODB.Recordset")
> rsCakes.ActiveConnection = acConn
> rsCakes.Source = "SELECT * from tblProducts; select * from
> tblCategories"
> rsCakes.CursorType = 2
> rsCakes.CursorLocation = 2
> rsCakes.LockType = 3
> rsCakes.Open
> rsCakes_numRows = 0
>
> It errors on the rsCakes.Open with the error:
> Microsoft JET Database Engine (0x80040E14)
> Characters found after end of SQL statement.
>
>
> Is there a way to do this? Thanks.
>
>
Foo Man Chew Guest
-
Bob Barrows #3
Re: Using NextRecordset errors
It's Jet, not SQL Server. A Jet stored procedure (saved query) can only
return a single resultset.
Bob Barrows
Foo Man Chew wrote:> Maybe using a stored query, instead of a raw SQL statement?
>
>
>
> "eagletender" <eagletender2001@yahoo.com> wrote in message
> news:vinlvnnvus3i12@corp.supernews.com...>> Does rs.nextrecordset not work when using Access/Jet? I can get it
>> to work when I am connecting to a sql database but not an Access
>> database.
>>
>> Provider=Microsoft.Jet.OLEDB.4.0
>>
>> My code is as follows:
>> set rsCakes = Server.CreateObject("ADODB.Recordset")
>> rsCakes.ActiveConnection = acConn
>> rsCakes.Source = "SELECT * from tblProducts; select * from
>> tblCategories"
>> rsCakes.CursorType = 2
>> rsCakes.CursorLocation = 2
>> rsCakes.LockType = 3
>> rsCakes.Open
>> rsCakes_numRows = 0
>>
>> It errors on the rsCakes.Open with the error:
>> Microsoft JET Database Engine (0x80040E14)
>> Characters found after end of SQL statement.
>>
>>
>> Is there a way to do this? Thanks.
Bob Barrows Guest



Reply With Quote

