?
Solved

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

Posted on 2012-04-10
5
Medium Priority
?
328 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 27

Accepted Solution

by:
tliotta earned 2000 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 Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
In today's business world, data is more important than ever for informing marketing campaigns. Accessing and using data, however, may not come naturally to some creative marketing professionals. Here are four tips for adapting to wield data for insi…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Suggested Courses

765 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