×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

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!

*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

VB6 RDO ODBC stored procedures

VB6 RDO ODBC stored procedures

VB6 RDO ODBC stored procedures

(OP)
I am using an RDO interface with an ODBC connection to Universe and am trying to execute stored procedures. I can get the program to work fine and execute the stored procedure when I don't pass any parameters, but as soon as I start to try to pass parameters, I get the following problem.

I have 2 option buttons in each of two frames and depending on the settings each frame sets a variable which has been defined as a string set to null earlier in the program. I then use the standard syntax of

rdoQuery_name(parameter number) = variable

to define the parameter value

This fails consistently with the error message:
40041 Object collection: couldn't find object indicated by text.

Can anybody tell me what this error message is actually indicating as the rdoQuery definition statement earlier in the program runs okay, the parameters are defined in the standard way and the variable is present.

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