Back url from form?

Hello.
I have: a link, a report, a form
When I set the link on a column on the report, it calls the form. (I also have edited the link so that the primary key columns are passed as parameters to the form to provide UPDATE/DELETE.)
What I want to do is: Once the user submits the form, the form should redirect to the page where the report was displayed, and pass the parameters that were on that previous page. (basically, go back to where the user came from--exact url, which shows the update on the report) Does anyone know how to do this?
The best solution would be for the form to open on the same page, then the form automatically refreshes the same url. Any ideas?
(I have been looking at it too long, need fresh eyes/thoughts.!)
Thanks!
Robin
Message was edited by:
robin.miller

Take a look at this thread, I think it'll help you.
How to get page url from a Dynamic Page?

Similar Messages

  • How to call a URL from forms ?

    Dear All,
    I would like to invoke / call a URL from forms. I know we can make a call Using Web.show_document. But this will execute in a browser.
    What i need to do is, i have to send a request to by calling an URL, that should not visible to any body.
    This is my requirement, please help if you know.
    Thanks
    Balaji

    hi,
    here is a quick example : (data from url returns as a clob. you need to write it at db. and call from forms.)
    FUNCTION Get_DataFromUrl(pUrl IN VARCHAR2,pProxy IN VARCHAR2,pData IN OUT CLOB) RETURN NUMBER IS
    vRcv UTL_HTTP.HTML_PIECES;
    vData CLOB;
    eNoDataReceived EXCEPTION;
    BEGIN
    UTL_HTTP.SET_DETAILED_EXCP_SUPPORT(TRUE);
    -- Get data pieces from Url
    vRcv := UTL_HTTP.REQUEST_PIECES(pUrl,Proxy => pProxy);
    IF vRcv.COUNT < 1 THEN
    RAISE eNoDataReceived;
    ELSE
    -- Append varchar2 table data into clob variable
    DBMS_LOB.CreateTemporary(vData,FALSE,DBMS_LOB.CALL);
    FOR i IN 1..vRcv.COUNT LOOP
    DBMS_LOB.WriteAppend(vData,LENGTH(vRcv(i)),vRcv(i));
    END LOOP;
    -- Copy local data into return variable
    DBMS_LOB.Copy(pData,vData,DBMS_LOB.GetLength(vData));
    DBMS_LOB.FreeTemporary(vData);
    END IF;
    RETURN SUCCESS;
    EXCEPTION
    WHEN eNoDataReceived THEN
    RETURN FAILURE;
    WHEN UTL_HTTP.INIT_FAILED THEN
    RETURN FAILURE;
    WHEN UTL_HTTP.Request_Failed THEN
    RETURN FAILURE;
    WHEN OTHERS THEN
    RETURN FAILURE;
    END Get_DataFromUrl;
    hope this helps.
    Engin.

  • Calling a url from forms

    Hi!
    i have created a website using ARCIMS - (if you are not familiar with ARCIMS it is software that is used to create maps) I now want to call URL (website) from a button on my form. I have tried to use web.show_docuement and I am getting errors such as 'register failk'.
    I was able to run this same URL succesfuly from my browser. any ideas please?!?

    Kayla.
    web.show_document() is the right buit-in to do this and it works the same as calling a URL from a Browser. if it says "register failed" (not sure if I am correctimng your error message the right way) then this does not look like a Forms error message but one coming from teh program you call. Please check teh URL that is composed before calling web.show_document(). Check for invisible characters added to it.
    Frank

  • Accessing an URL from Forms Java Bean

    Dear Oracle Gurus,
    Please help me
    I have an Oracle Application Server 10g Rel1 in production. I have oracle forms running with a java bean. I am passing an URL to this java bean to fetch and display an image.
    This url belongs to another web server (IIS server running a ASP.net application). If i call this url in internet explorer window it is displaying the image. If the same URL if i am calling from forms applet it is not working. When i checked in the java console by setting up trace level to 5 no error message.
    I have checked in the midtier/j2ee/home/log/home_default_island_1 folder in the log file no error messages. I have setup the internet explorer --> internet options --> security --> custom level --> miscellaneous --> access data across domain --> enable.
    Please give me a solution.
    Best Regards
    Syed Jalal

    Hello,
    I don't know how we can help you, because you use a Java Bean and did not tell us anything about this bean. A bean is like a "black box", so we cannot give you any help at all without the code.
    Francois

  • Opening URL from Form

    Anybody has any idea of how to open an url (or webpage) from a webform in the same window. I cannot use Web.Show_Document() as it opens the webpage in a new window.
    Thanx in advance.

    Taken from help
    SHOW_DOCUMENT(url, target);
    Built-in Type: unrestricted procedure
    Enter Query Mode: yes
    Description:
    Specifies the URL and target window of a Web application.
    Parameters:
    url Datatype is VARCHAR2. Specifies the Uniform Resource Locator of the document to be loaded.
    target Datatype is VARCHAR2. Specifies one of the following targets:
    _SELF Causes the document to load into the same frame or window as the source document.
    PARENT Causes the target document to load into the parent window or frameset containing the hypertext reference. If the reference is in a window or top-level frame, it is equivalent to the target self.
    _TOP Causes the document to load into the window containing the hypertext link, replacing any frames currently displayed in the window.
    _BLANK Causes the document to load into a new, unnamed top-level window.
    Restrictions:
    Can only be used from within a form run from the Web.
    Example:
    ** Built-in: WEB.SHOW_DOCUMENT
    ** Example: Display the specified URL in the target window.
    BEGIN
    Web.Show_Document(http://www.abc.com, _self);
    END;

  • How to open an URL from Forms in blocking mode?

    Can anyone tell me if it is possible to open a website from within forms in blocking mode? The reason why I have to use blocking mode is that the user has to take some action in the website and has to end that session explicitly with a button on the website. After that, a file is written on the server that is needed for further action. Without that file the process can't go on.
    I use Forms (32-bits) versie 10.1.2.0.2.

    Thanks for your answer.
    Your suggestion is only possible with a timer-trigger (correct me if I'm wrong). And that's the point.... The time the user can act in the website is unlimited. So, how to set up a timer-trigger? Another work around is to make a process that works at some time and searches for the files on the server. But that's not what we want to do.
    Does anyone have another idea?

  • Opening Browser with URL from Forms

    Hi,
    We can open internet browser by using HOST command in FORMS. How to open specific URL into the browser through FORMS.

    Hi,
    The following Host built-in takes you to the specified site,
    Host('Netscape http://www.oracle.com');
    Best Regards,
    Deepak Rai
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Rama Ala ([email protected]):
    Hi,
    We can open internet browser by using HOST command in FORMS. How to open specific URL into the browser through FORMS.<HR></BLOCKQUOTE>
    null

  • Getting browser URL from form

    Dears,
    I'm running some forms 10gr2, I would like to get the browser URL inside my form. How could I do something like this?
    Thanks in advance.

    Also with PJC bean is possible..
    http://peterv6i.blogspot.com/2012/04/reading-applet-parameters-in-oracle.html
    or
    package in2.client;
    import java.io.PrintStream;
    import java.net.InetAddress;
    import oracle.forms.handler.IHandler;
    import oracle.forms.properties.ID;
    import oracle.forms.ui.VBean;
    public class ClientInfo extends VBean
      private static final ID CLIENT_IP = ID.registerProperty("CLIENT_IP");
      private static final ID CLIENT_NAME = ID.registerProperty("CLIENT_NAME");
      private static final ID CLIENT_OS = ID.registerProperty("CLIENT_OS");
      private static final ID CLIENT_USER = ID.registerProperty("CLIENT_USER");
      private static final ID HOST_URL = ID.registerProperty("HOST_URL");
      private IHandler mHandler;
      private String hostAddress = "";
      private String hostName = "";
      private String hostOs = "";
      private String hostUser = "";
      private String hostURL = "";
      public ClientInfo()
        try
          System.out.println("+----------------------+");
          System.out.println("+  ClientInfro PJC     +");
          System.out.println("+  Peter Valencic      +");
          System.out.println("+----------------------+\n");
          this.hostAddress = InetAddress.getLocalHost().getHostAddress();
          this.hostName    = InetAddress.getLocalHost().getHostName();
          this.hostOs      = System.getProperty("os.name");
          this.hostUser    = System.getProperty("user.name");
          System.out.println("Host   adress: " + this.hostAddress);
          System.out.println("Host     name: " + this.hostAddress);
          System.out.println("Host op. syst: " + this.hostOs);
          System.out.println("Host username: " + this.hostUser);
          System.out.println("+----------------------+\n");
        catch (Exception e)
          System.out.println("Init error: " + e.toString());
      public void init(IHandler handler)
        super.init(handler);
        this.mHandler = handler;
      public Object getProperty(ID pid)
        if (pid == CLIENT_IP) {
          System.out.println("Client IP: " + this.hostAddress);
          return "" + this.hostAddress;
        if (pid == CLIENT_NAME) {
          System.out.println("Client Name: " + this.hostName);
          return "" + this.hostName;
        if (pid == CLIENT_OS) {
          System.out.println("Client os: " + this.hostOs);
          return "" + this.hostOs;
        if (pid == CLIENT_USER) {
          System.out.println("Clientuser: " + this.hostUser);
          return "" + this.hostUser;
        if (pid == HOST_URL) {
          hostURL = this.mHandler.getApplet().getDocumentBase();
          System.out.println("Host Url: " + this.hostURL);
          return "" + this.hostURL;
        return super.getProperty(pid);
    }

  • Invoke URL from form

    Hi,
    I want to invoke URL, with the help client_OLE2.
    Can somebody give some biref example for this.
    Thanks.

    Why do you want to do it with CLIENT_OLE2? web.show_document does exactly that and you don't have to delve into OLE2 to do it.

  • Calling ADF page from form

    We wanted to call ADF page from the form. are there any suggestions. i didnt see any discussion in this form

    Hello,
    You can call any Web URL from Forms via the Web.Show_Document() built-in.
    Francois

  • Calling JSP from Forms and going back from JSP to Forms

    Hi,
    We are calling JSP from Forms 6i using show_document
    I'd like to go back to tha calling Form from the JSP.
    How can I construct the URL that would lead me back to the same Form and Forms session where the JSP was called from?
    Thanks,
    Arpad

    Thanks Shay,
    works for me too...
    Now:
    when I use the "Back" button of my IE to go back from JSP to the Forms session, it works for Jinitiator 1.1.8.19, but if I use Jinitiator 1.3 I got hung...
    Any ideas how could I make it work from Jinit 1.3?
    Thanks again/
    Regards,
    Arpad

  • Printing user validation errors from .php file back onto a form

    Hey all. I have written a simple contact form with the extention .php. It includes the php validation and the form inputs on one page. If the input does not validate, a warning in red is printed at the top of the form after the user pushes submit. When I cut and paste the php validation code into a seperate file, the validation errors print on a blank screen. What I want is to have the same results with a seperate php file as I do when I include the php code on the form. (print errors from the seperate php validation file back onto the form).  Thanks for taking a look
    <h1><span class="bodyheader1">Contact </span><span class="bodyheader2">Us</span></h1>
        <p class="subheading">Tell us what's on your mind:</p>
        <?php
        if(isset($_POST['send_comment']))
            //Validating the comment field
            //checking if a first_name field has been entered
            if($_POST['first_name'] != "")
                //Saitizing first_name with a filter
                $_POST['first_name'] = filter_var($_POST['first_name'], FILTER_SANITIZE_STRING);
                //Checking for no input
                if($_POST['first_name'] == "")
                    //If no input, return error message
                    $errors .='Please enter a valid first name.<br/>';
            else
                //Error message
                $errors .='Please enter your first name.<br/>';
            //Validating the last_name field
            //checking if last_name has been entered
            if($_POST['last_name'] != "")
                //Saitizing last_name with a filter
                $_POST['last_name'] = filter_var($_POST['last_name'], FILTER_SANITIZE_STRING);
                //Checking for no input
                if($_POST['last_name'] == "")
                    //If no input, return error message
                    $errors .='Please enter a valid last name.<br/>';
            else
                //Error message
                $errors .='Please enter your last name.<br/>';
            if($_POST['email'] != "")
                $email = filter_var($_POST['email'], FILTER_SANITIZE_EMAIL);
                if (!filter_var($email, FILTER_VALIDATE_EMAIL))
                    $errors .= "$email is not a valid email address.<br/>";
            else
                $errors .= 'Please enter your email address.<br/>';
            //Validating the comment field
            //checking if a comment has been entered
            if($_POST['comment'] != "")
                //Saitizing comment with a filter
                $_POST['comment'] = filter_var($_POST['comment'], FILTER_SANITIZE_STRING);
                //Checking for no input
                if($_POST['comment'] == "")
                    //If no input, return error message
                    $errors .='Please enter a comment.<br/>';
            else
                //Error message
                $errors .='Please enter a comment.<br/>';
            if(!$errors)
                $mail_to = '[email protected]';
                $subject = 'Contact form ' . $_POST['first_name'];
                $message = 'First Name: ' . $_POST['first_name'] . "\n";
                $message .= 'Last Name: ' . $_POST['last_name'] . "\n";
                $message .= 'Email: ' . $_POST['email'] . "\n";
                $message .= 'Comment: ' . $_POST['comment'] . "\n\n";
                mail($mail_to, $subject, $message);
                echo "<script>document.location.href='thankyou.html'</script>";
            else
                echo '<div style="color: red">' . $errors . '<br/></div>';
    ?>
    *All fields are required<br />
    <br />
        <form name="contact" method="post" action="contact.php">
            <p>First Name: <br />
              <input name="first_name" type="text" value="<?php echo $_POST['first_name']; ?>" size="30" maxlength="50" /><br />
              <br />
              Last Name: <br />
              <input name="last_name" type="text" value="<?php echo $_POST['last_name']; ?>" size="30" maxlength="50" /><br />
              <br />
              E-mail: <br />
              <input name="email" type="text" value="<?php echo $_POST['email']; ?>" size="40" maxlength="200" /><br />
              <br />
              Comment: <br />
              <textarea name="comment" rows="5" cols="50"><?php echo $_POST['comment'];?></textarea>
              <br />
             </p>
          <p><input type="submit" name="send_comment" />
          </p>
        </form>

    You want the form to submit its results to a separate file which processes the data.  If this separate file finds errors, you want it to return control to the form page which would a) display the error messages, and b) populate the fields with the data entered?
    If that's the case, then the processing file would have to send the errors and the data back to the form page either as a) URL variables, b) a cookie, or c) entries in a database.
    Does that help?

  • If I open another URL from my homepage, the "go back one page" button is grayed out so I can't get back to my home page.

    This problem only started recently.
    Opening another web page (URL) from my homepage always opens in the same tab and the "go back one page" button is gray and does not work. If I open a series of web pages in the same tab the green "back" button is green. Clicking on the "recent pages" down arrow will allow me to go back, but only to the page after the home page.
    In other words, after browsing, I can get back to the opening page (my home page) only by clicking on the house icon but not by using the "recent pages" function.
    Is there an option that changed after the last update?

    Do you see any tab history if you right click the Back or Forward button?
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Access 2010 on 64 Bit Windows 7 Access "Not Responding" when changing from forms view to design view and back

    I am running
    Windows 7 64 bit
    Access 2010 32 bit
    Developing an application with a split FE BE with both files local but continue to have the message "Not Responding" when switching from forms view to design view and back as well as if I try to connect to a subform or object on the sub form.

    I have seen this behavior when the form's RecordSource is a complex query such as a crosstab or a query with several nested queries. To test if this is your case, remove the RecordSource and see if the form starts acting normal again.
    Then again, if the form has several subforms they might be slowing up the loading time.
    Bill Mosca
    www.thatlldoit.com
    http://tech.groups.yahoo.com/group/MS_Access_Professionals

  • Infopath form won't open from a URL, opens fine from form library.

    I have built a request process using SharePoint 2007 and InfoPath 2010 and a custom workflow designed in SPD.
    Everything works perfectly fine within the form library. However, I would prefer not to have my requestors go to the form library so I created a link to the form template.
    The issue is that when i try the URL to the form template, the form opens but throws an error that it cannot retrieve data for the form. This process is and will only be used internally, so
    I am having trouble understanding why this is happening.
    Error message (company names substituted in URL).
    Form template URL:
    http://security.home.mycompany.com/teams/activedirectory/PSAR/PSARRequests/Forms/template.xsn
    Error returned when opening form.
    The query cannot be run for the following DataObject: Access Requestors (An SP List of users)
    The SOAP response indicates that an error occurred:
    Server did not recognize the value of HTTP Header SOAPAction: http://schemas.microsoft.com/sharepoint/soap/GetObjectIdFromUrl.
    The query cannot be run for the following DataObject: RetrieveIDs (A query to retrieve list item ID)
    The SOAP response indicates that an error occurred:
    Server did not recognize the value of HTTP Header SOAPAction: http://schemas.microsoft.com/sharepoint/soap/GetObjectIdFromUrl.
    The query cannot be run for the following DataObject: Workflow History (A query to retrieve workflow data)
    The SOAP response indicates that an error occurred:
    Server did not recognize the value of HTTP Header SOAPAction: http://schemas.microsoft.com/sharepoint/soap/GetObjectIdFromUrl.
    From what i have seen in the past, i would have expected a security pop up before the form opened. I am thinking this may be part of the problem.
    Any advice would be appreciated.

     
    This filler or the client, I don't think it makes much difference. What is puzzling me and is the root of my initial question: Everything works perfectly fine if the user (requestor) goes
    to the SharePoint site opens the form library and click on the "New" button. The form opens in the InfoPath client and loads the data connections without issue. The entire process works fine from here and there is no issue.
    This issue is, if I send any of the users a direct link to the form template, it opens in the (InfoPath) client as it is supposed to, but will not load the data connection. I get the error
    messages stated in my original question stated above. Additionally, I have the option selected to store the data in the form. Once I suppress the error message, the data is not in the form template. There is no problem opening the form, just loading the data
    connection.
    I would like to find a solution to this although it is not tragic if I don't. I would rather not have the users (requestors) going directly to the form library if I can help it. It seems strange
    to me that this doesn't work because all the users are in the same environment as the SharePoint site. It is only used internally by authenticated users.

Maybe you are looking for

  • Safari, Itues, MSN and Update-programm doesnt open anymore!

    Hey Apple-Team! I have a unusuall problem. Yesterday my mac requested me to turn it off, during i was installing a safrai update. when i switched my mac on again, i was unable to use any programm that uses the internet!! My Airport ist active and sho

  • Can I use a led tv as a monitor for a macbook pro?

    I mostly stream Netflix videos on my laptop and would like to watch them on a bigger screen without sacrificing the friendly interface of my MacBoob Pro. Is is possible to us a 30-40" LED tv as a monitor?  Has anybody done this successfully?  If so,

  • Installed SL, now Preview won't open my .PICT files

    I use .pict files for photos in my QuarkXpress layouts. Preview doesn't recognize them, now that I've installed 10.6 SL. I got a window suggesting that I check the"Opne in 32-bit mode" but that didn't help. Help! I'm up against publication deadlines

  • Turn off SMB in Leopard

    Does anyone know how to turn off SMB/CIF in Leopard? In Tiger, it use to be a checkbox in Directory Utility. In Leopard, the only thing I can find is WINS setting under Network in System Preferences. Basically I don't want to see any of the Windows m

  • Standard wbs listing report

    Hi, does anyone know if there is existing listing report for all created standard wbs element? please advise. thanks