Update form when table is updated

Hi experts,
I am quite new to apex and i have come across an issue. I have created a table with 10 columns and from that created a form/report.i have to update my table by adding new columns but i can't get my report updated.
i have manually included the field in my sql query but tat didnt seem to work.
is there anywhere i should change to get my form and report updated.your advice would be very appreciated. thanks
kevin

Hi,
Normally, the report would just update automatically to include new columns - usually these are placed at the end of the list of columns. If you edit your report region and click on the Report Attributes tab, do you see your new columns there? If so, is the Show checkbox ticked for them? If it isn't, tick it. If you click on the Edit icon next to a missing column, what "Display As" is set - is it "Standard Report Column"?
Or, are you using an Interactive Report? If so, you would need to run the page, click the Action icon and then select "Select Columns" and make sure that every column is listed on the right.
Andy

Similar Messages

  • Resynchronising form when table changes

    I want to resynchronise my form when table changes, i.e., new column added, datatype changes etc.
    How do I do this? I remember seeing a note on this many months back.

    John,
    As far as I know this is not supported. Changing data types might work fine, but if you add/delete a column to the table
    then you will manually have to edit the form. In some cases might even have to recreate it.
    Thanx,
    Chetan.

  • How to replace message in the forms when table level constraint fails!!

    Hello all,
    I have table level constraint in database.
    when constraint fails i get message in the forms like
    "ORA-00001 : UInique Constraint (CYAN.FA_JV_DTL_PK) violated"
    I know i can replace this message by using trigger on-error.
    but for this I have to write on-error trigger in my all the forms.
    is there any short cut at database level?
    so i can map my messages for each and every constraint.
    by doing that database should send user defined message to the form instead of in-built database messages.
    From
    Chirag Patel
    Nairobi

    Chirag,
    I think this is english. I couldnt understand what exactly you want. Can you explain by not using short words and right spellings. I might help you.
    Thanks
    Ghulam

  • Form on table: Using stored procedure to update?

    I have a view which joins a handful of tables. I have a PL/SQL API that contains all the necessary business logic and translations to update the tables underlying this view.
    If I use the HTMLDB wizard to create a form on this view, it would automatically generate plain INSERT/UPDATE statements for DML against the view. How can I make it use my API instead? (Yes, I can probably plug in my API in INSTEAD OF triggers on the view, but I really dont want to do that)
    [Of course, the reason I would use the built-in form-on-table wizard is to get the automatic lost-update detection, locking, etc features]
    Help? Thanks

    The wizards are there to help you build typical pages like "form based on a table", "form on based a stored procedure".
    There is no wizard for "form based on a view, using my own API for inserts, updates and delete" - but that doesn't prevent you building such a form by hand. I have built similar forms, and found it quite easy to approach it like this:
    1) use "form based on a stored procedure" to create a form based on your API insert procedure
    2) add further buttons and processes to call your API's update and delete procedures
    3) add an "on load" process to select the row from the view and populate the form for update or delete
    You need to add some logic for context-sensitivity - e.g. Update and Delete buttons only appear when in "update mode", etc.

  • Ora-20001 when creating a form on table with report (bug?)

    Having some trouble creating a "Form on table with report".
    1) I pick my table
    2) take most of the defaults on the page where you pick the report type (interactive) and the page number (I changed it to 950). next->
    3) Do not use tabs. Next->
    4) Select all columns for the report. THEN (here's the problem) set an optional where clause of system_role_name like 'ODPSPOPUP%'. Next->
    5) choose standard edit link. next->
    6) Specify a page of 951 for the form (leave others defaults). next->
    7) Set the form primary key (defined in table). next->
    8) use existing trigger. next->
    9) choose all columns for the form. next->
    10) Leave actions to insert, update, delete. next->
    11) Get to the summary page and click Finish
    Then I get an error page saying:
    ORA-20001: Unable to create query and update page. ORA-20001: Unable to create query and update page. ORA-00933: SQL command not properly ended
    If I go back to step 4 and erase my where clause the wizard completes successfully.
    Also if I change the report type in step 2 from the default of "Interactive" to "Classic" the wizard completes successfully. However upon running the report I get a query parse error. Looks like the where clause in the report sql is: system_role_name like ''ODPSPOPUP%'' (two single quotes on each side).
    It looks as if you cannot specify a where clause with a quoted string. The wizard is expecting a bind variable.
    Workaround(s):
    1) Don't specify a where clause when report type = Interactive in "create form on table with report" wizard.
    or
    2) Specify a bogus where clause using bind variable syntax such as "system_role_name like :BOGUSVARIABLE". Then edit the report query once the wizard finishes and change the where clause to the constant string you wanted to use in the wizard (e.g. "system_role_name like 'MYSYSTEM%'")
    Apex: 3.2.0.00.27
    Database: Oracle Database 11g Enterprise Edition 11.1.0.7.0 64bit Production (Oracle EL5)

    Andy,
    It's a bug, all right. Thanks for the detailed problem description. We'll fix it when we can.
    Scott

  • Problem in Master Detail form when using ADF table for Detail

    hi,
    jdev version-11.1.2.1.0
    i have create Master detail form using datacontrol drag as ADF Master Form Detail Table.
    Now when i create a new row in Detail table using CreateInsert button a blank new row created on the top of detail table.
    and other row show that data of previous record based on master.
    problem is that i want when i click on createInsert button all row of detail table should be blank and when user fill two or three row then commit.
    Thanks in Advance

    Hi,
    if a detail table has data, then createInsert adds to these. If you want to hide existing rows, create a new View Object instance and set its "Retrieve from the Database" option to "No Rows". The use an af:switcher to change the table shown when the user clicks the createInsert button. There is a bit of coding required to have this use case in ADF, but its mostly declarative. Bottom line is that there is no automated option other than creating new rows in a separate page or dialog if you are bothered by existing rows
    Frank

  • Invalid number error with Form on table page

    We used the "Form on Table..." wizard to create a simple page to update the SCOTT.EMP table. When we submit the page we get the ORA-01722: invalid number error. When I view the data in the WWV_FLOW_DATA view in the FLOWS_010500 schema, I can see all the data from our form in long format with the actual values that were submitted. But I can not track down where this error is coming from.

    James,
    What data did you enter in each field? Could it be as simple as you tried to enter character data into the deptno column?
    Sergio

  • Display the records in forms when creating in a database

    hi to all
    i have a problem in forms, run in c\s using form6i..
    How can i display the records when i create a records to database and automatically display in forms when i open the forms or when creating a records?
    example:
    in form#1 , this is where i create records, i create records =A it will insert in database .when i update record A. I change A to B..then form#2 will also change to B and appear or dispaly in forms.
    in form#2, this has also a text item, when i open this form, it will appear the A records here, it will also update....
    what should be the best trigger to used and how to do this? plzzz help
    tnx in advance
    mica

    How can i display the records when i create a records
    to database and automatically display in forms when i
    open the forms or when creating a records?
    example:
    in form#1 , this is where i create records, i create
    records =A it will insert in database .when i update
    record A. I change A to B..then form#2 will also
    change to B and appear or dispaly in forms.Yours question is not clear to me , you didnt mention forms A and B contain the same underlying table or both have diffrent underlying table.
    My assumption both have diffrent table if its the case then use MERGE DML (introduced within 9i) and get refreshed it by TIMER (execute_query) within forms B.
    You need to clarify more what you wana achieve.
    Khurram

  • Auto Calculate Forms when opening pdf

    I have a PDF that has form boxes that I created in them. I also have an Access Database that is pushing values to these forms. The numbers are populating all of the cells correctly. My issue is that when I open my file some of the form boxes that rely on other form boxes are not calculated when I open the PDF. I need to manually go into the field, delete the number in the box, hit enter, then the number is calculated. Is there any way that I could calculate my forms when I first open?

    How are you populating the fields from the Access database, exactly?
    In any case, you can use the calculatNow document method to update. Just place the following line of code in a document-level JavaScript, outside of a function definition:
    // Update the calculated fields
    calculateNow();

  • When tables should be analyzed

    hi all,
    i want to know on what basis or how a person woul be able to know when table should be analyzed..........
    generally we have a tables that have been analyzed on 06/05/2008 15:50:15  query that i have used is
    select      OWNER,
         TABLE_NAME,
         to_char(LAST_ANALYZED,'MM/DD/YYYY HH24:MI:SS') last_analyzed
    from      dba_tab_columns
    where      OWNER ='name';

    burleson wrote:
    Reanalyze ONLY when you want your SQL execution plans to change . . .
    If you are satisfied with your plans, why change them?
    Hi Don
    Ummm, but if you don't update your statistics, your execution plans can change as well ...
    It's incorrect to suggest that not changing statistics means your plans won't change. Two things of course continue to change even if you don't update the statistics, the data and the data being selected.
    By following your advice, you might not have changed stats from 31 Dec 2005. Therefore Oracle thinks the max date value in your data is still 31 Dec 2005. But of course you now data as of say Jan 3 2009. When you query data of interest but the range of data you want is between say 1 Jan 2008 and 31 Dec 2008, how will the CBO determine the correct cardinality if it still thinks the max date is 31 Dec 2005 ?
    Actual answer is version dependent but it will get the cardinality way wrong and likely generate a poor execution plan.
    So perhaps your might want to update your statistics because you're satisfied with your plans and you don't won't them to change and suddenly go "wrong" by letting your statistics go stale.
    Hope this helps.
    Cheers
    Richard Foote
    http://richardfoote.wordpress.com/

  • Getting error while creating form and report on webservice: ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.

    i am using the following description to create a web service reference:
    web reference :REST
    Name :Yahoo Map
    URL :http://local.yahooapis.com/MapsService/V1/mapImage
    HTTP Method: GET
    Basic Authentication: No
    Add Parameter:
    Name       Type
    appid        String
    location    String
    Output Format: XML
    XPath to Output Parameters : /Result
    Output Parameter:
    Name       Path       Type
    Url          /text()      String
    Then i tried to create form and report on webservice:
    Web Service Reference Type: Yahoo Map
    Operation: doREST
    All the fields i keep as default
    I tick the checkbox (url)in report Parameter
    After clicking next whereever required i click create button
    I get the following error
    ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.
    Please someone help to solve this as i need to fix it urgently.

    i exported the application from apex.oracle.com and imported it to our environment
    import went fine, but when I ran the IR page I got
    ORA-20001: get_dbms_sql_cursor error ORA-00904: : invalid identifier
    evidently the problem is a lack of public execute on DBMS_LOB, which is used in the generated IR source.
    while waiting for the DBA to grant privs on DBMS_LOB, changing the dbms_lob.getlength call to length() fixes the IR.
    however, i am not getting the download link on the associated form page... changed templates, that's not the issue -- we'll see if that's a dbms_lob issue as well

  • APEX:Getting error while creating form and report on webservice: ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.

    I am using Apex 4.2.2.00.11
    am using the following description to create a web service reference:
    web reference :REST
    Name :Yahoo Map
    URL :http://local.yahooapis.com/MapsService/V1/mapImage
    HTTP Method: GET
    Basic Authentication: No
    Add Parameter:
    Name       Type
    appid        String
    location    String
    Output Format: XML
    XPath to Output Parameters : /Result
    Output Parameter:
    Name       Path       Type
    Url          /text()      String
    Then i tried to create form and report on webservice:
    Web Service Reference Type: Yahoo Map
    Operation: doREST
    All the fields i keep as default
    I tick the checkbox (url)in report Parameter
    After clicking next whereever required i click create button
    I get the following error
    ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.
    Please someone help to solve this as i need to fix it urgently.

    336554,
    Looks like there is a 127-column limit on the number of report columns supported when using that wizard. Do you have more than that?
    57434

  • Dynamically adding fields to the form when button pressed

    Hi all,
    In my application, there is a form from which I need to be able to insert data into 7 to 8 tables...
    Creating a view and inserting data into 5 table sis fine but there are 2 table whose structure is as follows.
    server_app_rel : server_id, app_id
    server_jack_rel : server_id, jack_id
    Here each server can have any number of applications and any number of jacks...
    I am not able to create a view ( to create a form on this view).. since the number of appllication and jack columns are not fixed. The user should be able to associate all the applications and jacks to the server in the same form...How can I insert multiple rows into tables from a single form when I dont know how many application and jacks(app/jack columns) the user will associate to the server..
    Also, How can we add fields dynamically to the form?
    Our requirement is by default we have to show only one application field and one jack field in the form..And when the user clicks on 'Add more Jacks' or 'Add more Apps' button, respective fields should appear on the form to add data..( this is like 'Add column' button when we create table)..
    Can someone please give me inputs on how to proceed..Am stuck with this from 2 days..It would be really very helpful if someone can give me atleast the links where i can find this info..
    Thanks,
    Nehal

    Here is what I mean
    http://www.drinknation.com/barbook.php?op=multi

  • Unable to fetch row opening form on table

    Hi all,
    i have a page with 2 regions, a form on table for DML and a report region that lists the same table.
    I am trying to create records in the form and then recall them by report row link for changes.
    I cant test if all that stuff can work because i when i run the page after first time an Unable to fetch row error is raised.
    After that i have to logout and login and run the page again.
    I do my best to explain the problem but feel free to ask for more.
    Any kind of help or suggestions are welcome.
    Thanks, Alex

    Hi,
    yes this is the problem.
    When i run the page the first time it seem to work fine but after editing, just edit page and run again , the error is raised and the only way out is to logout apex.
    My expectation was that if i run the page setting the rowid item , that is the pk of the tabular form, the region appear with setting for insert.
    Greets.

  • Query form when field pre-filled - How?

    Greetings:
    I am going to use a single form for creating, modifying, and deleting records as such functionality is available from a form created (table based) using Portal's form wizard.
    I am attempting to pre-fill one of the fields on the form (it tells me where the form was called from) for use when inserting a record. However, if I perform a query instead, I get no results as the pre-filled field is used in building the query. What I want to do then, is save-off the pre-filled value to a local variable upon the form being created; then, perform a RESET on the form to allow for querying. I'm not having success saving-off this pre-filled value to a variable.
    Question 1: What function call and where should I place it, to save-off this pre-filled form value (Additional PL/SQL tab section)?
    Question 2: How to perform a Reset action on the form after saving-off the pre-filled value?
    Many thanks for any ideas and guidance.
    Ed in Tampa

    Greetings:
    I've put this code in the QUERY_TOP button's SQL BUTTON EVENT HANDLER (for Query), as I have the Loc_Code field pre-filled with a value (hard-coded from the calling page):
    DECLARE
    v_Loc_Code varchar2(15) := NULL;
    BEGIN
    p_session.set_value(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_LOC_CODE',
    p_value => v_Loc_Code);
    doQuery;
    END;
    I'm attempting to clear-out this field if I query; however, querying still does not return anything.
    Am I doing this in the correct place? Is this field really getting a NULL value now?
    Thanks for any and all guidance.
    Ed in Tampa

Maybe you are looking for