Opening a new form using a different connect string

Hi All
I have the following requirement. I want to open an new form (when button pressed) using a different connect string. I am planning to use open form so that the new form has its own session. But I donot want the new form to connect to the same database. How do I pass the database that I want to connect using open form.
Rgds
Arvind Balaraman

The only way to change the connection is to execute the built-in LOGIN and connect to the desired database. You cannot pass this through the OPEN_FORM built-in.
Example:
LOGOUT;
LOGON(uname, upass || '@' || conn_str);
However, be aware that this will impact the first form too. This is expected behavior.
See Oracle Bug 5004661 or the Forms Online Help for more details.
http://www.oracle.com/webapps/online-help/forms/10g/state?navSetId=_&navId=3&vtTopicFile=designing_forms/multform_db/at0505.html

Similar Messages

  • I created a pdf form and then iported it to Forms Central for distribute. It is now loaded to my website and setup so a person clicks on the link to open the form. At this point they then have to go to upper right to open form using a different view. I wo

    I created a pdf form and then imported it to Forms Central for distribute. It is now loaded to my website and setup so a person clicks on the link to open the form. At this point they then have to go to upper right to open form using a different view. I would like the form to open directly in Adobe Reader form to make it easier to enter information. Thanks, Ike

    If you created it in Forms Central, you have to edit it there. I believe Forms Central is similar to LiveCycle Designer in that the form created is no longer able to be edited in Acrobat. I might be wrong, but that is my understanding. You add the submit button in Forms Central. Within Acrobat, you should be able to go to the forms menu and Manage Data to save the data to an Excel file. Others better with forms should be by to clarify things, but this should get you started. In the future you might find it better to post a forms question in the forms discussions.

  • Launching a new form using web.show_document

    Using 9iAS 9.0.2.1.1. and Forms9i I'm trying to get a form to launch a new browser window and open a new form in it. At present I'm using web.show_document to do this. However, I get an error message stating that 'Connection from new browser window is not supported'. From an earlier thread in this forum I found a possible solution which is to set the session.useCookies to false in the zone.properties, which I have done, but I'm still getting the same error. I've tried restarting the OC4J_BI_Forms OC4J and the HTTP server, but nothing makes any difference. Am I missing something?

    If you are attempting to print a report from a when-button-pressed trigger from within a form, you do not have to explicitly specify the server (hostname) nor the port. You can just use what I've found referred to as a virtual path to the server as I have done here:
    parm_string := '/reports/rwservlet?config=my_config&report=report_name'
         ||'&desformat=pdf&destype=cache'
         ||'&paramform=no&printjob=no'
         ||'&p_my_user_param1='||v_my_param1
         ||'&p_my_user_param2='||v_my_param2;
    web.show_document(parm_string,'_blank');
    You can specify a userid/password@connectstring within a named congifuration section of your formsweb.cfg file if necessary, e.g. my_config.
    Hope this helps.
    James K.

  • Close a form and before open a new form

    Hi,
    I open a new form(form B) from a form (from A), can I close "form A" before opening "form B" ?
    Moreover, can I re-open a form itself ?
    Thx!
    Gary

    Use one of following
    CALL_FORM
    This builds a stack of forms; exiting the current form
    returns you to the previous form.
    Performing a call_form('b') from FORM A will do the following:
    Deactivate FORM A.
    FORM A becomes MODAL.
    Focus is now on FORM B.
    Must Exit FORM B to return focus to FORM A.
    OPEN_FORM
    This allows you to have two forms open and active at the same time,
    and to work on both forms at the same time.
    Performing an open_form('b') from FORM A will do the following:
    Both FORM A and FORM B remain open and you can use the mouse
    to switch back and forth between the forms.
    NEW_FORM
    . This replaces the current form with a new form.
    Performing a new_form('b') from FORM A will do the following:
    Closes FORM A and Opens FORM B.
    Regards

  • Opening a new form from a button places it behind the calling form.

    From the sales order form clicking a schedule button opens up a new non modal window . On this window I need to add a new button to open a new form(SOO.fmb) .
    I tried using the FND_FORM.EXECUTE function, the new form opens but it is positioned behind the sales order form. I tried using call_form , even this positions the new form behind the sales order form.
    How do I open the new form as the active form ?
    thanks
    satya

    Please clarify what you are talking about. Is this an Oracle Applications (i.e. E-Business) form or is this a form/application you created? What product versions are you using? Do not provide product names like 10g, 11g, etc. Please provide product versions.
    That said, if you are opening new form or browsers using WEB.SHOW_DOCUMENT, there is a known Sun bug which causes this problem when using the Sun JRE 1.6.0_xx. This issue can be worked around by disabling the JRE setting "Enable the next generation Java Plugin...". This setting is found on the Advanced tab of the JRE Control Panel under "Java Plugin". This bug is expected to be fixed in Sun 1.6.0_18. This version is not available to the public at this time.

  • Using Firefox 5 in Windows 7, once I have Firefox open, I can no longer open a new window using the start button. How do I fix?

    As I stated, I have Windows 7 on my laptop and have installed Firefox 5. I sometimes like to have multiple windows of the browser open. But, unlike any previous version of Firefox, now when I have the browser open, when I try to open a new window using the Start menu, it will not open one. I have to use Ctrl+N. Why did this change?
    This may seem insignificant but it really hampers my work flow. For one, with other applications, Shift+N is what opens a new window. For two, I've been doing with with my browsers for years now and it's like second nature for me - having to remember that in Firefox it's Ctrl+N is a pain in my tuccus.
    Firefox is my go to browser and I would like it to stay that way. Please find the solution for me! I have tried looking using Tools, Options, as well as looking at my start menu and taskbar options, and no dice.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • How can I set or reset the page that is loaded when I open a new tab using Ctrl t ?? by

    I recently downloaded a program that has, as an undesired additional action, apprently setup Yahoo as the page that opens by default when I open a new tab using <Ctrl> <t> (or the <+> symbol on the tab bar). This is aggravating to me, particularly as I have not been able to find a way to stop it occurring.
    I expect that it is buried somewhere in my profile, but I also have not found a way to explore or edit the contents of my profile.
    There is a JScript script file called "user" in ...\profiles\4g4vpust.default that I suspect is associated with the behaviour, but renaming it achieved nothing.
    Prior to this, my new tabs used to open as blank pages, i.e. did not load any URL and I was happy with that. How can I get back to that state?

    Did it add the freeze net assistant add-on? That add-on is known to do this. If you have that add-on you can uninstall it Firefox should revert to the default behavior.
    If you do not have that add-on, another add-on will be causing this, you can use the procedure in the following link to identify what one - https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • All of a sudden I can no longer open a new tab using either the icon on the tab bar, the keyboard short cut or the File menu option. I can open a new tab ONLY by clicking on a bookmark or link.

    All of a sudden I can no longer open a new tab using either the icon on the tab bar, the keyboard short cut or the File menu option. I can open a new tab ONLY by clicking on a bookmark or link

    This issue can be caused by the Ask<i></i>.com toolbar (Tools > Add-ons > Extensions)
    Your system details show that toolbar in the user agent as AskTbAD2/3.12.2.16749
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • 2010 Review Approval Workflow Error - Outlook cannot open a new form

    Hi,
    I set up an Approval - SharePoint workflow on a document library list in a webpart.  When the approver got the email and tried to approve from outlook, she received the following error.  She has approved documets in the past for the same page. 
    Can anyome please help me troubleshoot this?  So much appreciated!
    Word Error:
    Could not open.  http://<site ulr> _layouts/formsResource.aspx?templateFile=http://<site url_catalogs/wfpub/Approval - SharePoint 2010/Review Approval_Task_1033.xsn
    Outlook Error:
    Outlook cannot open a new form. To open the file, access to the folliwng form template is required
    http://<site ulr> _layouts/formsResource.aspx?templateFile=http://<site url_catalogs/wfpub/Approval - SharePoint 201o/Review Approval_Task_1033.xsn

    can she open the approval form in web browser instead of Outlook?
    According to the error message, it seems that the user does not have permission for the file http://<site url/_catalogs/wfpub/Approval - SharePoint 201o/Review Approval_Task_1033.xsn.
    can she open see this file in SharePoint designer 2010? that is, open the site with SharePoint designer and navigate to All Files->_catalogs->wfpub->Approval - SharePoint 201o. If she can not see the file there, ask the workflow creator to publish
    the workflow again. I had experienced strange issue in SharePoint designer 2007 and solved by check out all the workflow files and check in again
    http://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/b533cfa5-e858-4ff9-bd0d-96d19946b789.

  • I can't open a new tab using Ctrl+T or by clicking on the + symbol. I can, however, open a new tab when holding down Ctrl and clicking on a link. How can I fix this please?

    I used to be able to open a new tab using Ctrl+T but that has stopped working. Having I accidentally changed something?

    Disable the Ask Toolbar.

  • When I try to open a new tab using the "+" on the toolbar, nothing happens. Even trying to use the cntl t to open a new tab does not work. To open a new tab, I must right click on a hyperlink. how can I correct this? Using Firefox 3.6.18

    When I try to open a new tab using the "+" on the toolbar, nothing happens. Even trying to use the cntl t to open a new tab does not work. To open a new tab, I must right click on a hyperlink. how can I correct this? Using Firefox 3.6.18

    The Ask Toolbar is causing that in the Firefox 3.6.13+ versions. Uninstall that extension.
    There are a couple of places to check for the Ask toolbar:
    * Check the Windows Control panel for the Ask Toolbar - http://about.ask.com/apn/toolbar/docs/default/faq/en/ff/index.html#na4
    * Also check your list of extensions, you may be able to uninstall it from there - https://support.mozilla.com/kb/Uninstalling+add-ons

  • Opening a new form by clicking a button...

    How is it possible to open a new form by clicking a button in a form? I have tried following methods:
    htp.formOpen(owa_util ...
    go('<URL>'),
    call('<URL>'),
    portal30.www_user_utilities.get_url ...
    portal30.wwa_app_module.link ...

    Kaj,
    Add following code in the '... before displaying the form.' event on the 'Additional PL/SQL Code' tab.
    htp.p('<script language="JavaScript1.3">
    < !--
    function runForm()
    window.open("http://www.yahoo.com");
    //-->
    </script>');
    Add a call to this function in the 'onClick' event from the 'JavaScript Event Handlers' for the button.
    runForm();
    Hope this helps...
    Nancy.

  • Cannot open a new tab using + button. I was able to do it before.

    When I try to open a new tab using + button nothing happens. I used to be able to do it.

    That is a problem with the Ask<i></i>.com toolbar (Tools > Add-ons > Extensions)
    See:
    * [[Troubleshooting extensions and themes]]

  • How can I open a new page (using "Pages") when I already have another page open?  It just keeps reverting to the page I have opened already and won't let me open another one?

    How can I open a new page (using "Pages") when I already have another page open?  It just keeps reverting to the page I have opened already and won't let me open another one?

    To make a new document, go to File > New From Template chooser and choose the type of document you wish to create.
    To add a new page to an existing document go to Insert > Sections > Blank.

  • Open a new form based on the selection from the drop down list

    Good Morning Everyone,
    Can any one please advise how I can start to build the form that has a drop down list(DDL) to list other forms so the user can select one from the selection of that DDL to open a new form.
    e.g  A form in workspace ES3 with drop down list to list 3 forms: form1, form2, form3. When user select form1 from the DDL, then it will kick off the render servic to launch form1 in workspace ES3.
    Thanks in advance,
    HD

    Hi,
    I'm not surea about the data structure...Are there two ClassNodes, one for "VALVES" and one for "BOLTS"??
    and for scripting it is no good idea if the names of the attributes are value, don't know if this is your naming...
    but to access a node of the DATA view -->
    //var selection --> you have assigned "VALVES"
      var onodeCN =  xfa.resolveNodes("xfa.record.Classification.ClassNode[*].value");
    // get the node with the valves -->
                   for (var i = 0; i < onodeCN.length ; i++) {
                        if ( onodeCN.item(i).value == selection ) {
                                         //get the Leaves of Node VALVES
                                         var onodeVALS = xfa.resolveNodes("xfa.record.Classification.ClassNode[+i+].ClassLeaf[*].value");
                                         for (var j = 0; j < onodeVALS.length ; j++) {
                                           // insert values of Leave to 2nd drop down
                                XXX.addItem(onodeVALS.item(j).value, onodeVALS.item(j).value);
    ??works??
    norbert

Maybe you are looking for