×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

ADO record set based off a stored procedure

ADO record set based off a stored procedure

ADO record set based off a stored procedure

(OP)
I'm having difficulty getting a report to work when I'm using an ADO record set that is based off of a stored procedure.

The steps I'm using are as follows:

Set cmWolper = Server.CreateObject( "ADODB.Command")
Set cmWolper.ActiveConnection = oConn
cmWolper.CommandText = "test_s"
cmWolper.CommandType = adCmdStoredProc
Set session("oRs") = cmWolper.Execute

I am using the TTX database type with the report.  The report works fine if I create the ADO record set manually within my ASP page.

Thanks,

Jim

RE: ADO record set based off a stored procedure

I'm also having problems of this nature with the RDC, ASP, and a report with a TTX data source. I've tried absolutely everything - SetDataSource, SetPrivateData, AddADOCommand. Not only can I NOT get this to work with a simple SQL Server stored procedure, it generates a pretty weird CRAXDRT error '-2147192185' that has no reference here nor the Crystal Reports support site, if my command object contains parameter objects. Heck, I've even tried with all three connection types (OLE DB, OLE DB for ODBC, and ODBC).

I've checked all the FAQs, every single message in the Crystal Reports forums, and gone through every pertinent article on the Crystal Report site. I'm dying here. Can't anyone help?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close