How to connect from a form modulo at two different db user

i a button of a module form i have tried this
forms_ddl ('connect scott/tiger@db9');
There was no error during compilation, but at runtime the connect don't change !
Noone have any idea to do this ??

Mike,
keep in mind that Exec_SQL.Open_Connection() does allow you to query a second database connection, but not to place datablock on.
An alternative to this would be a database link from teh database you originally connected to.
Frank

Similar Messages

  • How do I set up Home Sharing between two different libraries / users on the same computer?

    I am transferring my library to a new computer and want to share it with my partner who has her own sign-on and iTunes library on the same PC.  Does Home Sharing work in this situation?  And how do I just transfer individual albums or playlists from my library to hers?

    I'm not sure this is possible.
    It would be far simpler if they are on the same computer to put the files into your dropbox (or whatever it is called on a PC and simply drag and drop them into your library.

  • How to connect from VC++ 6.0 to Oracle 8i

    Can anybody tell me how to connect from
    VC++ 6.0 to Oracle 8i which is installed
    in server (without installing in client)

    Whats the problem you are facing, from what I see its pretty straight forward. Edit the system object, from 'Show Category' drop down select Internet Transaction Server, hit the modify button at the extreme right and your good to go.
    Thanks,
    GLM

  • HOW COULD CONNECT FROM SAP SYSTEM TO THIRD PARTY JAVA APPLICATION

    HI expects,
            HOW COULD CONNECT FROM SAP SYSTEM TO THIRD PARTY JAVA or . DET APPLICATION.please provide me some scenarios and documents.please help me.

    Hi,
    In the sender side i.e. in SAP system you can use IDoc/RFC/Proxy to push the data to XI.
    IDoc supports only Async communication and in Sync case performace is good using Proxy.
    In the receiver side you can use Java Proxy to connect to the Java application or you can even bulid a webservice over the Java/.Net application and use SOAP adapter to post data to it.
    Thanks
    SaNv...

  • How to covert  from .srf  form to xml form

    hi.....  plz anybody help me  to find this soloution... i am  not familiar with this enviorment
    how to covert  from .srf  form to xml form,
    it's very needed
    plz help me.................

    Hi Raj,
    You can do that way, but at times what happens is, if u try changing the extension while saving it saves as "<b>Form.xml.srf</b>" wherein, still its recognized as a srf file.  So, you save it as an srf first, and then, change (rename) the extension from .srf to .xml
    Satish.

  • How to connect from  bw system  ecc system.

    how to connect from  bw system  ecc system.

    Solution
    Maintain the entry using the following path:
    Call Administrator workbench (transaction RSA1).
    From the 'Settings' menu, select Global Settings'.
    If an entry already exists in the field "BW user for ALE", delete this.
    Enter the correct names for the BW users in this field.
    Save the entry.
    You must restart the Administrator Workbench (RSA1) now.
    The source system can now be linked without errors.
    hope this helps.

  • How to connect from java without using oracle client installation

    hi ,
    Please tell me how to connect from java without using oracle client
    Thanks & Regars

    http://www.orafaq.com/wiki/JDBC#Thin_driver

  • How can I use one gmail address on two different macbooks in 'mail'?

    I'm using one business gmail address. Me and my girlfriend both have a macbook. Now the gmail address is linked to my macbook. But she wants to use it as well. Unfortunately the 'mail' system won't allow her to sync with the gmail address. And I get messages from gmail saying that someone tried to log in to my account. Which is something I certainly want, but can't change. Does anyone now how I can use 1 gmail address on two different mac's? Thanks

    You may be able to change the suspicious account activity message alerts
    in your Gmail settings, and check that side of it, since I can use several
    means of accessing my Gmail and Google Accounts; and in the past had
    shared an account (not google) with another party half a world away when
    her email server went down for a month.
    The Mail software should not know the difference, unless the setup in there
    is not correct; if this is so, then more than what she says would be wrong.
    The Google mail Support help site pages should cover this adequately.
    Gmail Help - Google Help
    https://support.google.com/mail/?hl=en

  • How to display the same content in the two different main windows?

    Hi experts,
    How to display the same content in the two different main windows?
    Thanks in advance.
    sarath

    Hi
    Sorry but you can't have two main windows in sapscripts.
    Regards
    Gregory

  • HT1296 How do you sync iphone and PC when you have two different iphones/users?

    How do you sync iphone and PC when you have two different iphones/users in house? I just tried to sync my iphone and cancelled sync becauase I saw it was updating my phone with my husband's apps! How do I make it so that sync can distinguish between my and my husband's phone?

    I sync two iPhones and an iPad with one iTunes library on the same computer and each device has different content. Each device has its own sync preferences with iTunes. You can transfer the same music and apps to each device or different music and apps.
    Are you sharing the same Apple ID or iTunes account?

  • I've purchased apps from the app store using two different Apple IDs. Any way to consolidate them?

    I've purchased apps from the App Store using two different Apple IDs. Is there any way to consolidate them under one ID?

    Sorry, John, according to Apple, it's not possible to merge accounts.
    See the 5th topic here >  Frequently Asked Questions About Apple ID

  • How to open multiple db connections from one form?

    Hello,
    We have two different Oracle databases and need to access them (read and write) from the same form. Is there a way to do this, apart from using EXEC_SQL as described in Note 67516.1 ? I could also use db_links and synonyms, but this would add an extra maintenance aspect that I'd like to avoid.
    Thanks,
    :-Phil

    Sorry Phil,
    but that's all you got.
    Frank

  • How to connect a PDF form to SQL server database through web service?

    Hi,
    I'm new to LiveCycle designer. I have designed a PDF form in LC designer ES2, which suppose to take a personnel number and retrieve the personnel information from a SQL server database. Currently its working fine with XML data and a search button, but I need to securly connect to a database through web service. I know how to connect to a wsdl file through designer. What I need is a wsdl file to connect the form to database. For this purpose, is there any WSDL code to use as the web service?
    I really appreciate your help and advice.

    Hi,
    I'm new to LiveCycle designer. I have designed a PDF form in LC designer ES2, which suppose to take a personnel number and retrieve the personnel information from a SQL server database. Currently its working fine with XML data and a search button, but I need to securly connect to a database through web service. I know how to connect to a wsdl file through designer. What I need is a wsdl file to connect the form to database. For this purpose, is there any WSDL code to use as the web service?
    I really appreciate your help and advice.

  • How to connect from sql*plus to Sql Server

    Dear Profs.
    How I can connect from sql*plus v8 on my local pc(Win XP) to Sql Server Express 2005 light weight installed in same local pc ?
    Thanks,
    Ahmed.

    You'll need to setup heterogeneous services. This is done by creating an init file for the SQL Server db with %ORACLE_HOME%\hs\admin that refers to a DSN for the Sql Server Database. The listener would also need an entry for the SQL Server DB DSN. After that you would create a dblink to SQL Server in your Oracle instance and then could query across the dblink.

  • BC4J: How get Connection from Application Module

    I've written a custom method for my Application Module for using by the client tier. In this method I call a JPUblisher created class, that accesses a PL/SQL procedure. For this JPublisher created class I need a connection context. The class calls DefaultContext.getDefaultContext() but that seems to be null.
    How can I get the current Connection of the Application Module, so that I can create a DefaultContext?
    Unfortunately Transaction has no getConnection method.
    Thanks,
    Robert

    We don't make the Connection directly available because in some sense it's a rope on which you can hang yourself if you are not careful. Since BC4J AppModules are most often used from a pool, and you might be using connection pooling in addition to application module pooling, in general it is not safe to get hold of the raw JDBC connection and "hang onto it".
    If you make careful use to always get the current JDBC connection before you use it, and not try to cache it, then you should be ok. Often, you can avoid the need to get the raw JDBC connection by calling getDBTransaction().createPreparedStatement(...) or the analogous createCallableStatement() or createStatement() that are also on the DBTransaction interface.
    Here is a little function you can add to your application module impl class to retrieve the Connection:
      private Connection getCurrentConnection() {
        Statement st = null;
        try {
          st = getDBTransaction().createStatement(0);
          return st.getConnection();
        catch (SQLException s) {
          s.printStackTrace();
          return null;
        finally {
          if (st != null) try { st.close(); } catch (SQLException s2) {}
      }It basically creates a (dummy) statement, gets the current connection from the statement, then closes the statement.
    I tried using this in a custom method in an AppModuleImpl class that invoked a JPublisher-create package-wrapper class like this:
      public void callStoredProc() {
        try {
          // Empservice is package wrapper class created by JPublisher
          Empservice e = new Empservice(getCurrentConnection());
          BigDecimal sal = e.lookupsalary(new BigDecimal(7369));
          System.out.println(sal);
        catch (SQLException s) {
          s.printStackTrace();
      }and it works for me.

Maybe you are looking for

  • Itunes asking for the wrong Itunes account for app updates

    I have a buddy who is attempting to update his iPad apps, but it's asking for his daughter's itunes account password instead of his.  His account is synced to the ipad, and daughter can't remember her password.  What can be done to resolve this issue

  • Acrobat shortcut dissapeared from the Office 2010 Taskbar

    Since we had a problem with creating pdfs in Word 2010, we deactivated the pdfmaker Add In (as recommended from Office) and updated Acrobat (now we have version 9.5.5.) then we activated the pdfmaker Add in again, but the Acrobat shortcut remained di

  • OWB and PeopleSoft EPM integration

    1) Has anyone used Oracle Warehouse Builder for ETL in conjunction with PeopleSoft EPM (Enterprise Performance Management) Data Warehouse? 2) Does anyone know the expected strategy of Oracle on how to integrate the PeopleSoft EPM suite into the Oracl

  • My contacts hear when people call me

    Hi, I have a problem with the iphone, I asked to other people who have iPhone and they have the same problem. When I'm talking and new call come, the people who I'm talking hear the tone and know that I have a new call. Thanks!

  • Photos on macbook air

    i have deleted all photos on my macbook air but under storage its still shows 1.6GB for photos.. what does this mean? have the photos been deleted or stored somewhere else as well ? need help please