1. CJ Lai
  2. PowerBuilder
  3. Wednesday, 10 March 2021 21:44 PM UTC

Hi All

I am wondering if this is possible-

In my 2017 R3 IDE, I have a Workspace with multiple Targets. Each target is connected to its own database at run time.

In the IDE, though, is there a way to automatically switch to the respective database when switch from a target to another?

Or, the database connection in the IDE has to be switched manually?

Thanks

CJ

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 10 March 2021 21:53 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi CJ;

  The current DB Connection is used that was set in either the DB Profile painter or the Database painter. From that point on, the default DB applies to all Apps (aka via their WorkSpace) that are loaded into the IDE. Changing the current DB in the IDE from that point onward is a manual task by the PB developer. Again using either the DB Profile painter or the Database painter.

Regards ... Chris

Comment
  1. CJ Lai
  2. Wednesday, 10 March 2021 21:58 PM UTC
Got it.

Thank you, Chris!
  1. Helpful
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.