Refresh after insert records

Hello,
I am using the demo application for 4GL developers. In that after doing the insert and when I press the continue, it come back to the main service request page. However I cannot view the record I inserted. How can I solve this issue.
Thanks

Hi,
make sure the view is refreshed. You can e.g crate an action binding in teh pagedef file that ponts to the ViewObject's "execute" operation
Then, in the executables" section, create an invoke action pointing to this action binding. Set its refresh confition to #{!adfFacesContext.postback} so it only fires when returning from another page
Frank

Similar Messages

  • "Refresh after" insert fails for DB-View with INSTEAD OF Triggers

    Hi,
    I have a database view with INSTEAD OF triggers defined for INSERT, UPDATE, DELETE.
    For some EO attributes the refresh after insert and update is defined.
    Posting to database fails.
    According to Database 9.2 Manual and a previous thread (BC4J and Updatable Views the RETURNING clause is not allowed for database views with INSTEAD OF triggers.
    Is there a workaround so the refresh after is done, but without the RETURNING feature?
    I only need to refresh some values. The PK i can set in the create method of the EO so refresh via a additional SELECT would be possible.
    If not Feature Request:
    Add the possibility to do the "refresh after ..." with a 2nd SELECT using the PK instead of using the RETURNING clause.
    Of course then it is not possible to set the PK in the database trigger. PK has to be set in the create method of the EO.
    Thanks,
    Markus
    GEMS IT

    Hi Markus,
    Turning on the stack trace (-Djbo.debugout put=Console - in the Project/runner) did help and I should have done it sooner. Turns out that when I constructed my EO based upon a database view - I should have left out the PKs of the base tables.
    In my case, I am using an "Instead Of Trigger" to populate a multi-table arrangement (parent - child - grandChild - greatGrandChild relationship) where all base tables are using dbSequence/dbTriggers.
    Final analysis - I would like to see BC4J handle this situation. I do not want to use View-Links and I should * not * have to resort to stored procedures and BC4J/doDML. If I construct a DB View this is participating in an parent - child - grandChild - greatGrandChild relationship that are using dbSequence/dbTriggers, then BC4J should be smart enough to construct VO knowing that I want to do insert, update, delete, selects - based upon this structure.
    Thanks Markus,
    Bill G...

  • ORA-01403: no data found  -  refresh after insert on view

    Hi all,
    I have problems with refresh after insert on view and i override this method on my xxDefImpl.java
    public boolean isUseReturningClause() {
    return false;
    Anyway what it does is to substitute the RETURNIN INTO to
    SELECT ID INTO ? FROM MY_VIEW WHERE ID=?; END;".
    And this gives me the error
    ORA-01403: no data found ORA-06512: at line 1
    Because i'm tryint to insert on my view with ID = -1
    And then the view and the my triggers make it happen to became a real ID.
    The thing is that i need to refresh my ID after insert and it runs this select with -1 and it finds no data of course because the trigger on the view and on my tables transformed it in a real ID .
    DO u know what's missing?

    See section 26.5 Basing an Entity Object on a Join View or Remote DBLink in the ADF Developer's Guide for Forms/4GL Developers for the additional tip I believe you're missing about marking a unique attribute as well.
    You can find the guide on the ADF Learning Center on OTN here:
    http://www.oracle.com/technology/products/adf/learnadf.html

  • Problem with a field set to refresh after insert at Row level

    hello all,
    i have a problem with a field (a serial) which is set by a db trigger at insertion. The field "refresh after insert" is properly set in the Entity and everything is refreshed correctly when i insert data via an adf form in a jspx but when i want to insert programmatically nothing is refreshed. I insert data this way :
    ViewObject insertVO = findViewObject("myView");
    Row newRow = insertVO.createRow();
    newRow.setAttribute("mandatoryAttribute1",value1);
    newRow.setAttribute("mandatoryAttribute2",value2);
    <more init here but not the serial since it will be set by the DB trigger>
    insertVO.insertRow(newRow);
    but when i want to get back the value with "newRow().getAttribute("TheSerial");" i always get a null back and not the value set by the db trigger.
    One way to get the serial is to commit after each insert but i don't want to commit between inserts.
    i've tried to unset the refresh after insert and override the createDef() method to setUseReturningClause(false) as it's is advised in chapter 26.5 of the ADF 4GL dev. guide but in this case i have an exception JBO-29000: JBO-26041.
    How can i get the value back properly ?
    thanks
    -regards

    The data for the newly created row doesn't get inserted into the database until the commit is executed, so the insert trigger isn't called.
    If you need to get the value without committing, then you should implement the trigger programmatically and drop the trigger from the database. The code below shows how you could do this.
    ViewObject insertVO = findViewObject("myView");
    Row newRow = insertVO.createRow();
    SequenceImpl seq = new SequenceImpl("MY_SEQ", insertVO.getDBTransaction());
    Long next = (Long)seq.getData();
    newRow.setAttribute("primaryAttribute", new Number(next));
    ...You will need to replace MY_SEQ and primaryAttribute with the correct values for your example, but this should acheive what you want.

  • Adf - refresh after insert in microsoft sqlserver

    Hi!
    Its possible to use the entity option "refresh after insert" in a MSSql server database??
    I try to use this option and 1 error occurs
    "oracle.jbo.RowAlreadyDeletedException: JBO-25019:"
    Thanks in advance,
    Rui Pereira

    Thanks Steve,
    I use the latest version of jdeveloper - 10.1.2.0.0 (build 1811).
    The Sql Flaver selected is "SQLServer".
    Bellow are some line of ADF debugg:
    [85] BC4J Property jbo.SQLBuilder='SQLServer' -->(MetaObjectManager) from Client Environment
    [259] Warning: BaseSQLBuilder does not support RETURNING (key-cols) clause....
    [260] INSERT INTO ALERT.SYS_SESSION(SESSION_SA,IP,DT_IN,DT_OUT,ID_PROFESSIONAL) VALUES (?,?,?,?,?)
    [261] Fetch RefreshOnInsert attributes
    [262] BaseSQLBuilder.doRefreshSQL, Executing Select for Refresh-on-insert or update attributes
    [263] Built select: 'SELECT ID_SYS_SESSION FROM ALERT.SYS_SESSION'
    [264] Executing Refresh SQL...SELECT ID_SYS_SESSION FROM ALERT.SYS_SESSION WHERE ID_SYS_SESSION=?
    [265] General failure in select : JBO-25019: A linha da entidade da chave null não foi encontrada em SysSession.

  • Bc4j bug at refresh after insert / update

    having a table and a trigger on it that fills an attribute
    in a 9i db. one can take the scott/tiger emp table and use the
    following trigger:
    create or replace trigger t_bri_emp
    before insert on emp
    for each row
    declare
    v_no number(7,2);
    begin
    select user_SEQ.nextval*100
    into v_no
         from dual;
    :new.sal := v_no;
    end;
    then creating a bc4j project with an entity object based on this table (emp)
    and a view object based on the created entity object.
    !!!! when you create the bc4j project you must set the SQL Flavor to SQL92 or OLite
    when you set the attribute settings, for the attribute the trigger is on (sal),
    to refresh after insert / update or both in the entity object you get a
    null pointer when you try to insert a new row and commit.
    java.lang.NullPointerException
         oracle.jdbc.ttc7.TTIoac oracle.jdbc.ttc7.TTCAdapter.newTTCType(oracle.jdbc.dbaccess.DBType)
         oracle.jdbc.ttc7.NonPlsqlTTCColumn[] oracle ....................
    all can be reproduced just useing the wizard and start the bc4j project with the tester
    any workaround ??

    Sven:
    I looked into your issue. It turns out your problem is caused by a bug in the system (bug #2409955).
    The bug is that for non-Oracle SQLBuilder, we are not processing refresh-on-insert and refresh-on-update attributes correctly. We end up forming an invalid SQL statement and the JDBC driver gives the obscure NullPointerException.
    Thus, until 9.0.3, you should not use refresh-on-insert/update attributes on a non-Oracle SQLBuilder.
    If you need the refresh-on-insert/update attribute, here is a possible workaround:
    1. Whenever you invoke the tester, on the first panel, click on the 'Properities' tab. In the list of properties, you should find one for 'jbo.SQLBuilder'. It will say 'SQL92'. Remove it, so that it is empty. Run test tester. Then, the tester will use Oracle SQLBuilder which will handle refresh-on-insert/update attributes correctly for you.
    2. For switching between Oracle SQLBuilder and SQL92 SQLBuilder, you can try the following:
    2a) Locate bc4j.xcfg and your Project??.jpx under your 'src' directory.
    2b) Make copies of these files.
    2c) Edit them so that you have one set for Oracle SQLBuilder and one set for SQL92 SQLBuilder. For Oracle SQLBuilder, make sure these files do NOT have entries like:
    <jbo.SQLBuilder>..</jbo.SQLBuilder> in bc4j.xcfg and
    <Attr Name="_jbo.SQLBuilder" Value="..." /> in Project??.jpx
    When there is no jbo.SQLBuilder entry, BC4J will default to Oracle.
    For SQL92, make sure you have
    <jbo.SQLBuilder>SQL92</jbo.SQLBuilder> in bc4j.xcfg and
    <Attr Name="_jbo.SQLBuilder" Value="SQL92" /> in Project??.jpx.
    Before you run, decide which SQLBuilder to use (for 9.0.2, with retrieve-on-insert/update attrs, you have no choice but to use Oracle SQLBuilder) and copy these files into your class path, e.g.,
    <jdev-install-dir>\jdev\mywork\Workspace1\Project1\classes
    When you get 9.0.3, then you should be able to switch between Oracle and SQL92 SQLBuilders freely.
    Thanks.
    Sung

  • Send Email after Insert Record

    I am by no means a coder so please be gental. I have a
    contact page that I have insert into a database, but I am also
    trying to send an email after it inserts into the db. But I cant
    seem how to make it work. Dreamweaver wrote the code for the insert
    and I am not sure were to go from here. I am using asp vb.
    thnaks

    On 11 Mar 2007 in macromedia.dreamweaver.appdev, jeremy12345
    wrote:
    > I am by no means a coder so please be gental. I have a
    contact page
    > that I have insert into a database, but I am also trying
    to send an
    > email after it inserts into the db. But I cant seem how
    to make it
    > work. Dreamweaver wrote the code for the insert and I am
    not sure
    > were to go from here. I am using asp vb.
    See all those Request.Form("nameSuffix") and similar? They
    contain the
    information posted from the form, and are still available to
    you after
    the database has been populated.
    What you need to do:
    - Find out from your hosting provider what mail component(s)
    are
    available on your server.
    - Create an email using the information from the form:
    <%
    DIM MyEMailBody, MyEMail
    MyEMailBody = "Name: " & Request.Form("nameFirst") &
    MyEMailBody = MyEMailBody & Request.Form("nameMiddle")
    MyEMailBody = MyEMailBody & Request.Form("nameLast")
    & VBCrLf
    ' VBCrLf is a CarriageReturn/LineFeed (ie a new line)
    ' Details Below will vary depending on the mailer component
    MyEMail = CreateObject("CDONTS.NewMail")
    MyEMail.From = "[email protected]"
    MyEMail.To = "[email protected]"
    MyEMail.Subject = "Inserted Record"
    MyEMail.Body = MyEMailBody
    ' Send the email
    MyEMail.Send
    ' Get rid of the email on the server
    SET MyEMail = nothing
    %>
    Joe Makowiec
    http://makowiec.net/
    Email:
    http://makowiec.net/email.php

  • New  browser window after insert record

    I need some help in modifying the insert record so the the
    goto page opens in a new browser window. I'm working with
    PHP/mySQL. I would expect that I need to modify this section of the
    code.
    $insertGoTo = "new_page.php";
    if (isset($_SERVER['QUERY_STRING'])) {
    $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
    $insertGoTo .= $_SERVER['QUERY_STRING'];
    header(sprintf("Location: %s", $insertGoTo));
    Tried changing the first line to
    $insertGoTo = "MM_openBrWindow('new_page.php',' ',' ')";
    which does not work. I little help would be greatly
    appreciated.

    The only way I know is using javascript.
    Here I give you an example:
    *main.html*********
    <html>
    <head>
    <script language="javascript1.2">
    <!--
    function Change(){
         window.open("child.html","","toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=250,height=120,left=300,top=260");
    -->
    </script>
    <body>
    <center>
    <form name="form1">
    <table>
    <tr><td>Selected value:</td><td><input type="text" name="tf" value="(none)"></td></tr>
    <tr><td colspan="2" align="center"><input type="button" value="Change Value" onClick="Change()"></td></tr>
    </table>
    </form>
    </center>
    </body>
    </html>
    *child.html*********
    <html>
    <head>
    <script language="javascript1.2">
    <!--
    function Change(){
         window.opener.document.form1.tf.value=document.form2.select.value;
    -->
    </script>
    <body>
    <center>
    <form name="form2">
    <table>
    <tr><td>Value:</td><td><select name="select"><option value="1">1</option><option value="2">2</option><option value="3">3</option></select></td></tr>
    <tr><td colspan="2" align="center"><input type="button" value="Change" onClick="Change()"></td></tr>
    </table>
    </form>
    </center>
    </body>
    </html>
    Best Regards!

  • Display Invoice Page after Insert Record

    I am new at this - so my aplogies - I am using Dreamweaver,
    ASP and Access - I am doing a form registration page and upon
    submit, the submitter is sent to a invoice page which contains some
    of the data they just submitted. How do I cherry pick the record
    that was just created on the previous registration page in order to
    show some of it on the invoice page? I assume I will have to create
    a variable from the value of one of the form fields on the
    registration page, then use that to call the correct record on the
    invoice page, but I have no idea how to do it in Dreamweaver, or
    the syntax if I need to code it by hand. Any help would be greatly
    appreciated. I have been stuck on this for over a day.

    As part of the insert action define something from the form
    that is likely
    to be unique such as emailaddress, and assign it to a session
    variable like
    this
    <%
    session("svemail")=request.form("emailfield")
    %>
    Then on your invocie page simply filter the records by the
    session variable,
    and select the order to be in DESC order.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "BAPWEB" <[email protected]> wrote in
    message
    news:e6p2q5$lj6$[email protected]..
    >I am new at this - so my aplogies - I am using
    Dreamweaver, ASP and
    >Access - I
    > am doing a form registration page and upon submit, the
    submitter is sent
    > to a
    > invoice page which contains some of the data they just
    submitted. How do
    > I
    > cherry pick the record that was just created on the
    previous registration
    > page
    > in order to show some of it on the invoice page? I
    assume I will have to
    > create a variable from the value of one of the form
    fields on the
    > registration
    > page, then use that to call the correct record on the
    invoice page, but I
    > have
    > no idea how to do it in Dreamweaver, or the syntax if I
    need to code it by
    > hand. Any help would be greatly appreciated. I have been
    stuck on this
    > for
    > over a day.
    >

  • Refresh view forms after change records in db?

    Hello,
    I have problem with refresh view in master-detail form. If I press button with trigger which inserts records in master and detail table, I see change only in master table in forms. In trigger is clause execute_query; but it doesn't work. If I refresh internet search (internet explorer) then I see change in all tables, but I want see this changes after press button with trigger.
    Any suggestion?
    regards Psiezul

    This is large trigger and I make simplest this code.
    There are two tables: sprawy and watki. Table sparwy is master table and watki is detail table. And button with trigger is on master object in forms.
    DECLARE
    BEGIN
    SELECT * INTO rekord_sprawa FROM sprawy WHERE .......;
    --some changes on records rekord_sprawa, and save this records in DB.
    INSERT INTO sprawy(........) VALUES(.......);
    COMMIT;
    In this palce is ok and I see changes on my form in IE.
    Under are records which are inserted in database, but I can't see this changes in form.
    If I take count_query, then I get message that there are new records, but if I press execute_query, forms told my that, there aren't any records ! In DB are all records which I inserted. But If I click refresh on Internet Explorer, that I see changes.
    SELECT * INTO rekord_watek FROM watki WHERE .......;
    INSERT INTO watki(......) VALUES(........);
    COMMIT;      
    END LOOP;     
    END;
    Execute_query;
    It's not work(execute_query) for second table 'watki' which is visible in detail component.
    Sorry for my terrible english
    regards
    I find solution but not very good
    open_form('dokument');
    close_form('dokument');
    this clauses make refresh all table in master-detail model.
    Edited by: user515960 on 2010-06-08 04:56

  • Refreshing the RowSetBrowser webbean after insert/update(?)

    How do I refresh the RowSetBrowser web bean after inserting or updating and committing a record thru the EditCurrentRecord web bean?
    I am unable to see the new record added in the RowSetBrowser unless I close the browser and re-enter.
    Any advice would be appreciated!
    null

    after you call to iniatialize() in the DWB, you can refresh the cache by calling
    <%
    dbw.getRowset().executeQuery();
    %>

  • Refresh LOV after inserting data in correspondent table

    Hi all,
    I am using Jdeveloper 11.1.1.2 and ADFBC.
    I have a page with a table (tableA) with some fields. One of them has a LOV associated to another table(tableB). I have a button (button1) that shows a popup(popup1) and opens a new task flow with a fragment to insert data in the tableB.
    After inserting/modifying rows in tableB and after pressing commit (property: end-transaction) or rollback buttons (property: end-transaction and restore save point), LOV does not refresh.
    I have tried to set the property partial triggers of the LOV to button1 or popup1 and it does not work.
    How can I solve it?
    Thank you.
    Andrea

    How about VO for table B ? Did you refresh that ? I didn't use the same VO for table & LOV.
    so in "List data Source" -- VO -- I am using "SQL statement" and statement includes fields from Table B and Table A.
    VO for LDS using "Rows populated by a SQL query with read-only access". I didn't use "Updateable Access through Entity Objects".
    Sample of VO of LDS:
    select A.model_number modelNumber, a.part_number partNumber, b.MODEM_TYPE ModemType
    from table A a,Table B b
    where a.PART_NUMBER_ID = b.PART_NUMBER_ID
    and a.part_number_id =:partID
    Edited by: albertpi on Mar 16, 2010 7:26 AM

  • How to refresh after delete the records in ALV report ?

    Hi Friends,
    How to refresh after delete the records in ALV report.
    I am deleting records in ALV report .
    After successful delete the screen should refresh.
    u201C Deleted records should not appear in the screen u201C.
    Please guide me.
    Regards,
    Subash

    Hi subhash,
    FORM user_command USING r_ucomm LIKE sy-ucomm      rs_selfield TYPE slis_selfield.
    WHEN 'BACK'.
    Refresh the internal table from the ALV grid
          PERFORM update_alv_tab.
    ENDFORM.                    "user_command
    FORM update_alv_tab .
      DATA :  e_grid TYPE REF TO cl_gui_alv_grid.
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
          e_grid = e_grid.
      CALL METHOD e_grid->check_changed_data.
      "update_alv_tab
      CALL METHOD e_grid->refresh_table_display.
    ENDFORM.                    " UPDATE_ALV_TAB
    Then see in Debug mode is it updating or not..
    Please confirm .
    And please paste the code if you can.
    Regards.

  • How-To "Refresh a table of data after inserting or deleting"

    I'd like to say a word on the how-to article "How to refresh a table of data after inserting or deleting a row using ADF".
    (http://www.oracle.com/technology/products/jdev/howtos/1013/updtable/index.html?_template=/ocom/technology/content/print)
    I spent a lot of time on it because I needed help in implementing simple CRUD functionality on a table, using JSF-ADF-TopLink technologies.
    While the the article does provide correct steps, it is in one important place not specific enough, so the reader may easily get stuck. In section "Refresh the data table", point 1: when you double click on the removeEntity() button, in Structure window, then you do not get the required dialog. You get CommandButton Properties dialog.
    You must click on the removeEntity() button in Editor's Design view. But even there you may get the CommandButton Properties dialog, not managed beans dialog.
    You may resolve that by going to JSF configuration file, faces-config.xml, and switch to Overview view. This will show you the managed beans that you have.
    Then, you may already have a backing bean for the page. You can use that and avoid creating a new managed bean.
    I could understand what the operations mean only after very careful reading of "Creating More Complex Pages", section "Overriding Declarative Methods" in JDeveloper Help (or in ADF Developer's Guide PDF document).
    In general: I believe that "ADF bindings" need more conceptual explanation, maybe in form of an article. Grammatical form "bindings" may create a false understanding that "bindings" are just references. But they are not -- ADF bindings are active objects that handle traffic between UI components and Data Controls. It seems that "bindings" even communicate among themselves. Maybe it would be more understandable to differentiate strictly between "binding objects" (or "binders"?), binding object definitions and binding object references.
    It would be very helpful to have a diagram showing grahically what specific binder objects are created in a small apllication (2-3 pages using 1-2 tables), with whom they communicate and what type of data is passed on.
    Priit

    Hi
    Thanks for your infos.
    Yes exactly I use almost the same code you have post here.
    Could You answer to my next questions?
    First - >what do you mean by saying that "it's not good idea using refreshing in IE?" Of course I use refreshing in backing_bean for my button "remove" that removes row, commit changes to database and refresh table, almost the same as You said in your post:
    Code in backing_bean is and comments on difference to Your code is below:
    public commandButton2_action1(){
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding =
    bindings.getOperationBinding("removeEntity");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    //above remove entity, but I dont now if it do commit to database? So i do it below
    OperationBinding commit1 = bindings.getOperationBinding("Commit");
    commit1.execute();
    //and at the end I refresh my table, "findAllRezerwacja1 - it is an id of the methodAction, not the iterator -> is it ok? or should I change to Iterator id?
    OperationBinding requery = bindings.getOperationBinding("findAllRezerwacja1");
    requery.execute();
    return null;
    Page Definition code for this:
    <methodAction id="findAllRezerwacja1"
    InstanceName="SessionEJBLocal.dataProvider"
    DataControl="SessionEJBLocal" MethodName="findAllRezerwacja"
    RequiresUpdateModel="true" Action="999"
    ReturnName="SessionEJBLocal.methodResults.SessionEJBLocal_dataProvider_findAllRezerwacja_result"/>
    <table id="findAllRezerwacja2" IterBinding="findAllRezerwacja1Iter">
    <AttrNames>
    <Item Value="dataDo"/>
    <Item Value="dataOd"/>
    <Item Value="idRezerwacja"/>
    <Item Value="liczbaUczestnikow"/>
    <Item Value="prowadzacy"/>
    <Item Value="uwagi"/>
    </AttrNames>
    </table>
    <methodAction id="removeEntity" InstanceName="SessionEJBLocal.dataProvider"
    DataControl="SessionEJBLocal" MethodName="removeEntity"
    RequiresUpdateModel="true" Action="999">
    <NamedData NDName="entity"
    NDValue="${bindings.findAllRezerwacja2.currentRow.dataProvider}"
    NDType="java.lang.Object"/>
    </methodAction>
    <action id="Commit" IterBinding="findAllRezerwacja1Iter"
    InstanceName="SessionEJBLocal.dataProvider"
    DataControl="SessionEJBLocal" RequiresUpdateModel="true"
    Action="2"/>
    </bindings>
    //and rest of code for Iterator etc
    My second question is, why when you use refresh button in IE (I know is not recommended as You said, but sometimes user do it, so I want prevent situations that I will describe here) so when I press refresh button in IE exactly after removing one row by clicking my button, refreshing by pressing IE button is doing the same --> is deleting next row. How to stop deleting row, when for example user would press IE refresh button after pressing remove button for table. If I change selection in table after deleting row, and press refresh button in IE, instead of deleting row, I got error message: JBO-29000: JBO-35007: and
    JBO-35007. So where Im doing wrong. Maybe I should do sth with postback ? Could You help me? Thanks in advance
    Last one question: what is the difference between using delete and removeEntity from operations node? Im now reading carefully ADF Dev Guide, so I hope I can find infos there? But if You know, please answer to this question.
    Thanks

  • Need session variable after inserting a record.

    I have a page where I am setting up a new user.  After they enter their username, password, address etc. I am inserting the record when they press the commit button, then moving on to the next page.
    I have a session variable setup called user_name, which is also the name of the field in my table.
    My problem is that the value in my session variable goes away after inserting the record.  How do I retrieve the value of user_name?
    At the top of my 2nd page I have:
    <?php
         session_start();
         $_SESSION['user_name'] = $_POST['user_name'];
    ?>
    This gives me an index error.
    I also have session_start(); at the top of my first page.
    What am I doing wrong?
    Thanks.

    I figured it out by moving the variable assignment right before the redirect to the next page.

Maybe you are looking for

  • Using XML File As Target- Data Integrator (SAP BODI Tool)

    I am trying to populate records to an XML File from a table. The XML schema has a node say 'Address'. When I run my job, I get duplicate records in the output XML File. For example: under the element address, the fields are address1 and addres2 then

  • Not able to convert spool output to PDF file properly

    Hi guys, i have got spool which contains russian characters which needs to be converted to PDF file. Note: ******Assuming user enters only one spool in S_Spool******* I am using following code to do this: **---- Get Spool ID Details from TSP01 select

  • Can't re-install my PRE9

    Hi, I took PRE9 off this computer when I bought CS5, CS6 & then LR4 and Proshow Producer. Now I want PRE9 back, and I tried 11 times GRRR and got this message, 'The installation process has encountered an error while installing Shared Technologies' T

  • Ways to perform activation check on BI7 objects

    Hi all, what could be the best way to perform activation checks for Infoobjects, Hierarchies, Flexible Update, ODS, infoCube, Multiproviders, Update Rules, Infosources and Source System( in BI7) regards sagar

  • Dell Precision M6600 monitor no longer working...

    Hello! The monitor display has suddenly stopped working on my laptop.  The computer boots up but the monitor remains completely black.  I attached a second monitor via the VGA on the back and everything shows up and performer normally on that second