Solved

SETUSERID/USERID functions require one connected db or db argument.

Posted on 2012-04-10
5
304 Views
Last Modified: 2012-09-02
Progress Version Number: 10.1C

So far we have been using single database. Now we want to connect to multiple database.
I had created the second database and When i connect to multiple database i get the follwing error.

** SETUSERID/USERID functions require one connected db or db argument. (691)

Since i have the keywork "Userid" in several programs, it will be impossible to change them to userid("dbname").

Is there any other solution?

Thanks
0
Comment
Question by:hawkerpac
  • 2
5 Comments
 
LVL 27

Accepted Solution

by:
tliotta earned 500 total points
ID: 37834318
Is there any other solution?

Not that I'm aware of.

...it will be impossible to change them...

I assume that by "impossible" you mean that it will take extra work. Or can you elaborate?

Tom
0
 

Author Comment

by:hawkerpac
ID: 37834996
With limited resource we have its not possible to change the keyword "userid" which is used in more than 3000 programs. Since we had single database, userid worked fine. Now that we want to split the database , we have to change all the programs whcih has userid to
userid("db1").

So i want to know if there is any other way.

Thanks
0
 

Author Comment

by:hawkerpac
ID: 38029046
We went ahead and changed the programs to refer userid(dbname).
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Creating and Managing Databases with phpMyAdmin in cPanel.
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question