Insert Statement for Form on Table with Report

I'm using a 'getID' process On Load Before Header to make sure I get an ID for my form per suggestion from blarman here. The form has many fields from one table and four collections. If I let the process run as I think it should (when the ID is null) the link to the report does not fetch any field except the id. If I set the process to never run everything loads but my update process doesn't run. What am I doing wrong? Advance thanks...
Alexandra
Get ID Process
declare
  new_id   NUMBER;   --gets the next sequence number for new record ID
begin
INSERT INTO DOC_INFO (DOC_INFO_ID,OWNER_ID,STATUS_ID, DOCNO, DOC_TITLE, REVISION, STATUS_DT,ISSUE_DT, REVIEW_DT, ECRNO,  ECR_LINK, DOC_LINK, COMMENTS, KEYWORDS, DOC_TYPE, ASSOC_ITEMNO, FILE_TYPE, FILE_NAME, CHANGE_TYPE, NEW_DOCNO) values(new_id, 0, 0, '', '', '', '','', '', '', '', '', '', '', '', '', '', '', '','');
  :P26_DOC_INFO_ID  := new_id;
end;Update Process (On Submit/After Comp...)
Update DOC_INFO
SET
DOC_INFO_ID   = :P26_DOC_INFO_ID,
OWNER_ID  = :P26_OWNER_ID,
STATUS_ID  = :P26_STATUS_ID,
DOCNO  = :P26_DOCNO,
DOC_TITLE  = :P26_DOC_TITLE,
REVISION  = :P26_REVISION,
STATUS_DT  = :P26_STATUS_DT,
ISSUE_DT  = :P26_ISSUE_DT,
REVIEW_DT  = :P26_REVIEW_DT,
ECRNO  = :P26_ECRNO,
ECR_LINK  = :P26_ECR_LINK,
DOC_LINK  = :P26_DOC_LINK,
COMMENTS  = :P26_COMMENTS,
KEYWORDS  = :P26_KEYWORDS,
DOC_TYPE  = :P26_DOC_TYPE,
ASSOC_ITEMNO  = :P26_ASSOC_ITEMNO,
FILE_TYPE  = :P26_FILE_TYPE,
FILE_NAME  = :P26_FILE_NAME,
CHANGE_TYPE  = :P26_CHANGE_TYPE,
NEW_DOCNO = :P26_NEW_DOCNO
WHERE DOC_INFO_ID = :P26_DOC_INFO_ID;

Got it...I think it had to do with the use of my 'Create' and 'Apply Changes' buttons.
Thanks for your time anyway.

Similar Messages

  • 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

  • Several CRUDLs again: App from existing table Form on table with report?

    Hi,
    I posted a message a couple of days ago, asking if it was possible to automatically generate several CRUDL gui patterns per application. Later I answer myself discovering that the "Form on table with report" option for creating a page, make just that.
    However, I can see that the option for application level CRUDL (app from existing table) has more functionality (search, export to excel, data analysis, even charts, cool ;-). It creates about 10 pages per table, contrasting with the two created by the "Form on table with report" option. I thought that "Report with form" could be the answer, but it seems just another link to the same option.
    So, once again: is possible to call the functionality of "App from existing table", several times within the same application? (of course each time is likely to refer a distinct table). How do I insistently ask for this? Well, cause I can see in my horizon many applications what will entirely consist of table-maintenance services ... so, with htmldb I could generate them very fast!. In fact, once I have toasted my crudl pattern I would even like to save it and generate the applications on a non interactive basis (maybe calling something in pl/sql?, command line?) ... is that possible?
    Thanks in advance,
    salu2
    dario estepario ..

    Hi Scott,
    Dario - The "create application from existing table"
    functionality was available in 1.6. In 2.0, the
    Create Application wizard has changed. But you can
    create as many sets of pages in the same application
    as you need, all on different tables, using the
    patterns available in that wizard. You can also
    supplement those generated pages later by creating
    chart pages or whatever else you need.Mmm?, ups ... them am I running the 1.6 version? I installed it from the companion cd. Ok, I'll try the separately distributed htmldb version. Thanks.
    >
    At present there is no exposed API to let you do any
    of this programmatically.;-(
    >
    ScottRegards,
    dario estepario ...

  • Form on Table with Report works in one environment but not in another.

    Here's a short description of the problem:
    Created a form on a table with report (using the wizard) in an ApEx application. The form and report work perfect in development environment. Once the application is moved to the Test environment, the insert feature of the form does not work. We have verified that the underlying table the form is based on is there with all the fields, primary key, sequence and trigger.
    Any ideas?
    Marc

    Ben,
    I assume that apex_public_user has all the approporiate privilegesapex_public_user requires no privileges other than those it is created with during installation and the execute privileges on procedures it may acquire as URL-invokable procedures are developed and registered.
    Marc - What are the symptoms of the problem (insert does not work) ? What does the debug output show when you run the page in debug mode? Does the "request" value of the button (create button?) match one of the request values recognized by the DML process?
    Scott

  • BUG: Apex 4.0.1 form on table with report. Not passing ID correctly

    I'm trying to create a form on a table with report using the wizard. I opted for a classic report page.
    The edit link on the report page does not work. The link looks like this:
    http://ngdwpc3:7777/pls/apex/f?p=101:15:1800428764039812::::P15_ID:#ID#
    This is clearly wrong because one would expect a value to be passed and not a column name.
    Looking at the generated report page I get 60 columns. This seems to be a result of the setting:
    no-checked :Use Query-Specific Column Names and Validate Query
    checked :Use Generic Column Names (parse query at runtime only)
    The ID column in the table is mapped to COL01.
    Changing the value being passed in the link columns to #COL01# results in the correct behaviour.
    My guess is that the option "Use Query-Specific Column Names and Validate Query" is the correct setting for the generated report.
    Rene

    Yes, I guess this is a Bug.
    1. When you speciify a WHERE clause in the Wozard it adds extra quotes when appending the WHERE into the Report SELECT.
    I think thats the root cause, all others just follow as a consequence.
    a. Because the query cannot be parse ( two single quotes) the Use Generic Column Names (parse query at runtime only) is automtacillay set
    b. This leads to COL01 to COL60
    c. Which is turn leads to the link not working.
    I could easily recreate the scenario.
    To fix it I did the following
    1. Removed the extra quotes from the query
    2. Selected Use Query-Specific Column Names and Validate Query and Saved
    It started working correct.
    I suggest you edit your Thred name add BUG at the begining so that it gets spotted by Oracle folks on the forum.
    Regards

  • Form on Table with Report

    I vaguely remember if I add fields to a table that is being used in a form/report, even though I manually add the fields to the report query and update/insert statements on the form, there can still be a problem with the fields being picked up by the report upon filling them in on the form. Is this so? If so, is there a work around without recreating the whole thing?
    the form has two buttons that just redirect to the same page. Each just displays it's related field using REQUEST = EXPRESSION 1. Each has it's own request value. After the form is complete, the user clicks a submit button to update the report. All fields update except these conditionally displayed fields that display based on the request buttons.
    It feels like one of those things where I'm going to kick myself when it's figured out.
    Thanks in advance...
    Edited by: userRRRYB on Oct 19, 2010 9:01 AM

    Unfortunately not. I'm using the fields to update another field. This is a catalog form for our Document Control department. They create and save a document to a folder then catalog it so they have search capability. If they make a change to the doc, they have to go back to the catalog and make updates to the form as well. They will either tack on A,B,C etc. for a REVSION change, or v1,v2,v3, etc for a VERSION change. So...
    Buttons
    REVISION
    VERSION
    Fields
    DOCNO (for demo this displays F-100)
    REVISION
    VERSION
    NEW_DOCNO
    User clicks the REVISION button and the REVISION field displays F-100A.
    Source for the REVISION field is this:
    SELECT CASE
    WHEN
      ASCII(SUBSTR(:P51_DOCNO, LENGTH(:P51_DOCNO)-1, 1)) = 118 or
          ASCII(SUBSTR(:P51_DOCNO, LENGTH(:P51_DOCNO)-1, 1)) = 86
              THEN SUBSTR(:P51_DOCNO, 1, LENGTH(:P51_DOCNO) - 1) || CHR(ASCII(SUBSTR(:P51_DOCNO,LENGTH(:P51_DOCNO),1)) + 1)
    ELSE :P51_DOCNO || 'v' || 1
    end
    from doc_info
    where doc_info_id = :p51_doc_info_idSelect for the revision VERSION does the same thing, but checks for and adds v1, etc.
    Then the appropriate rev/ver gets dumped into NEW_DOCNO b/c I thought I could then use that to update the next time...but since none of these fiels are dumping into the report I've not gotten that far.
    Another note: all other fields update to the report fine.
    This is probably a very cumbersome way to do this, but I operate from my own neive creative problem solving base without any real formal training.
    Any ideas?
    Edited by: userRRRYB on Oct 19, 2010 9:23 AM
    Edited by: userRRRYB on Oct 19, 2010 9:29 AM

  • Form on SQL with report

    I had created a form on table with report. When the user clicks on the link image on the report, it query up the data on the form. It does all of the DML on the form behind the scenes. Now I have to do the same thing, but the form needs to be based on SQL Query instead. What do I have to do to have the link from the report automatically call of the data in the form?

    The easiest way is to create a view with an INSTEAD OF trigger which does the insert/update/delete into the underlaying tables.
    That will allow you to use all the processes the wizard creates for you and without having to write any code in APEX.
    Patrick
    My APEX Blog: http://www.inside-oracle-apex.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://apexplugin.sourceforge.net/ New!

  • INSERT Statement behind a FORM on a TABLE with REPORT

    When I create a form on a table with report, I'm sure an INSERT STATEMENT is genereated in the background somewhere. How can I see this insert statement or how can I get to this INSERT statement? If I can see it, would I be able to modify this INSERT statement?
    Please use simple terms.
    Thanks.

    Roel
    At first, i was just curious to see where that insert statement is and how it looks like.
    Later, I really wanted to see it because I wanted to know how it looks like whne I try to insert a one to many relationship record. Don't know if I'm being too clear on this.
    Lets say table A and B have a 1-to-many relationship. When I want to insert records into both A and B, how does the insert work? Maybe if I get an answer to this question, I may understand how the inserts are done on a 1 to many relationship data insert.
    Thanks.

  • Form on a Table with Report - Auto Number

    Hi,
    Scenario:
    I want to create "Form on a Table with Report" that should allow my users to add records...
    Steps and issues
    I created a table in MS Access with a field called "TRACKING_NO" as type Auto Number and made it a primary key... I was planning to use it to link Report to Form
    When I uploaded the table to Oracle it changed the type to varchar2... can you please advice how to change it back to Auto number...?
    and will it work if my user add a record to the table (using APEX built in option to create a record)...?
    Thanks in advance

    Hi,
    this is what I would do.
    1. Upload the table from MS Access, lets call it TAB_A
    2. Using SQL-Workshop get the DDL (SQL statement) for this table
    3. Change any names and/or datatypes as required
    4. Create a new table with this DDL, lets call it TAB_O
    5. Copy the contents from TAB_A to TAB_O (e.g. INSERT INTO TAB_O (id, colx, coly) SELECT TO_NUMBER(tracking_no), col1, col2 FROM TAB_A;)
    6. Create a sequence which starts with the last PK + 1 of table TAB_A
    7. Add a trigger to TAB_O to use this sequence to populate it's PK
    By the way, working with APEX requires a solid understanding of Oracle SQL and PL/SQL, regardless of what anyone says, even Oracle.
    Regards Garry

  • Need to create form on a table with report with a table has NO primary key

    Hi, I tried to created some insert/update/delete form+report in an application, it works fine only if the table has primary key. Does anyone know how to create the same functionality with a table with no primary key? I saw an application is built on older version of htmldb that is using tables with no primary keys at all.
    Here are the specific issues that I am facing:
    - I am building some Form on a table with Report, it requires the table with primary key for form to update. Is there a workaround that I can use tables that has no primary keys at all?
    - Say if primary key is necessary in the previous report+form, but the maximum number of columns that I can use to composed a primary is only 2 for that Form-Report, I cannot find anything handling > 2 primary key. Do you know if there are some ways to composite a primary key from many columns together?
    Your help is really appreciated.
    Thanks,
    Angela

    Sorry to ask response so late. I had no time to get back to that issue before.
    Regarding the triggers, I can make it work for the update, but not the insert.
    Here is my trigger:
    create or replace trigger STATUS_T1
    instead of insert on STATUS
    begin
    insert into STATUS ("LABEL", "AREA", "OWNER", "TEST_NAME", "STATUS", "REMARKS", "BUGS", "DEV_MGR", "TEST_BY_DATE")
    values(:new.LABEL, :new.AREA, :new.OWNER, :new.TEST_NAME, :new.STATUS, :new.REMARKS, :new.BUGS, :new.DEV_MGR, :new.TEST_BY_DATE);
    end;
    by any chance, you can notify what is wrong?
    I already skip the ROWID when inserting to the view STATUS, but I cannot figure out what is wrong when inserting a new record to that view.
    It gave me the following errors:
    ORA-06550: line 1, column 38: PL/SQL: ORA-00904: "ID": invalid identifier ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored
    Error Unable to process row of table STATUS
    Then, I turned to debug mode, I am thinking that maybe because I use a HIDDEN item to hold the value of ROW_ID as I use the rowid (called ID in the view) to retrieve the record as a column link from previous page. What do you think?
    Thanks again,
    Angela

  • No data found error on Form on a Table with report

    Hi Everyone, I'm using Application Express 4.1.0.00.32 on Windows 7. I built a Form on a table with report. Earlier I was using rowid as a passing parameter but then I had to change it to primary key column from report to form.
    So in the "Fetch row process" I changed the "Items containing primary key value" and "Primary Key column" to P1004_PERSON_ID and PERSON_ID respectively. Which is my primary key.
    My Form is working exactly fine but at on point it throws "no data found error".
    I have a required date field in the form. So if the user doesn't fill in the date field and try to save the form, it throws the "Feild required error" and then when user enters date and try to save then it throws the error "No data found.". here is the snapshot... snapshot
    How can I fix this error.I'm really stuck.
    I checked debubber..it is as follows... in debughger it's still showing rowid. I don't know why. How can I fix that.
    Execution
    Message
    Level
    Graph
    0.00233
    0.00932
    S H O W: application="101" page="1004" workspace="" request="" session="123235901404364"
    4
    0.01161
    0.00102
    Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
    4
    0.01261
    0.00046
    alter session set nls_language="AMERICAN"
    4
    0.01307
    0.00042
    alter session set nls_territory="AMERICA"
    4
    0.01348
    0.00053
    NLS: CSV charset=WE8MSWIN1252
    4
    0.01401
    0.00042
    ...NLS: Set Decimal separator="."
    4
    0.01443
    0.00053
    ...NLS: Set NLS Group separator=","
    4
    0.01495
    0.00050
    ...NLS: Set g_nls_date_format="DD-MON-RR"
    4
    0.01545
    0.00051
    ...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM"
    4
    0.01597
    0.00050
    ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR"
    4
    0.01647
    0.00079
    ...Setting session time_zone to -05:00
    4
    0.01726
    0.00046
    Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY
    4
    0.01772
    0.00060
    Setting NLS_TIMESTAMP_FORMAT to application timestamp format: DD-MON-YYYY HH24.MI.SSXFF
    4
    0.01832
    0.00092
    ...NLS: Set g_nls_date_format="DD-MON-YYYY"
    4
    0.01924
    0.00049
    ...NLS: Set g_nls_timestamp_format="DD-MON-YYYY HH24.MI.SSXFF"
    4
    0.01973
    0.00083
    ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR"
    4
    0.02056
    0.00099
    NLS: Language=en-us
    4
    0.02154
    0.00157
    Application 101, Authentication: PLUGIN, Page Template: 5091946581246503
    4
    0.02312
    0.00065
    ...fetch session state from database
    4
    0.02377
    0.00106
    fetch items
    4
    0.02483
    0.00065
    ...fetched 103 session state items
    4
    0.02548
    0.00194
    Authentication check: NTLM (NATIVE_CUSTOM)
    4
    0.02742
    0.00188
    ...Execute Statement: begin declare begin wwv_flow.g_boolean := f_ntlm_page_sentry_parm; end; end;
    4
    0.02930
    0.00050
    ... sentry+verification success
    4
    0.02980
    0.00042
    ...Session ID 123235901404364 can be used
    4
    0.03021
    0.00114
    ...Application session: 123235901404364, user=VARMAN01
    4
    0.03135
    0.00162
    ...Check for session expiration:
    4
    0.03297
    0.00075
    Session: Fetch session header information
    4
    0.03372
    0.00113
    ...Setting session time_zone to -5:00
    4
    0.03485
    0.00080
    Branch point: Before Header
    4
    0.03565
    0.00598
    Fetch application meta data
    4
    0.04165
    0.00081
    ...metadata, fetch computations
    4
    0.04245
    0.00076
    ...metadata, fetch buttons
    4
    0.04321
    0.00086
    Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY
    4
    0.04406
    0.00058
    Setting NLS_TIMESTAMP_FORMAT to application timestamp format: DD-MON-YYYY HH24.MI.SSXFF
    4
    0.04464
    0.00049

    Just an observance... SQL is still showing the rowid instead of the P1004_PERSON_ID ??
    where "PERSON_ID" = :p_rowid;
    should it not be :
    where "PERSON_ID" = :P1004_PERSON_ID:
    thx, Bill

  • Form on a Table with Report, 2 Pages

    I have a view and i am using this to create a page as follows for insert/update/delete .
    (1) create application from scratch
    (2) on page 1 using wizard choice "Form on a Table with Report, 2 Pages"
    (3) Follows the screens and create the 2 page where first page is a report and when i click on edit(in my case) it goes to next page for insert/update/delete.Everything like insert/update/delete works fine .
    Now this view has say three columns
    (1) element_type_id
    (2) element_name
    (3) yesnoflag
    changing element_name and yesnoflag column is ok but then i need to have element_type_id corresponding to the element_name from some other table.
    Question1
    How should i get the element_type_id corresponding to the element_name .so when i create a new record it goes to page 2 and i can provide LOV for element_name and enter into yesnoflag, how can i get the element_type_id populated corresponding to the element_name entered.
    Question2
    Also in my application i have name element_type_id as primary key .I am not sure if thats a good idea or should i make element_name as primary key ?
    please help.
    Thanks,
    Sachin

    hey rui--
    by "adjust your html", i simply meant that you should look at your page, think about the html that's being used, and adjust it as necessary to make your data wrap as desired. now that i'm pretty sure i understand your issue, i can tell you the adjustment. you're saying that your form shows your long column "correctly" with data broken up onto separate lines by carriage returns or linefeeds. when you display that same data in your report, those carriage returns ( chr(13) ) and/or linefeeds ( chr(10) ) aren't observed. that's because they don't mean much in regular html. two ways to approach this would be:
    a) replace your carriage returns with explicit <br> tags to get the breaks that you want...
    select test_id, replace(test_description,chr(13)) test_desc from my_table;
    b) wrap your column with <pre> tags to preserve all the original formatting of your data...
    select test_id, '<pre>'||test_description||'</pre>' test_desc from my_table;
    ...and you could, of course, do option B in your report row template if you'd like.
    hope this helps,
    raj

  • Form on a table with report

    HI all
    I have a page type : form on a table with report .
    the table is :
    CREATE TABLE  "SLIKA_USERS"
       (     "ID" NUMBER,
         "USER_NAME" VARCHAR2(20) NOT NULL ENABLE,
         "USER_PASSWD" VARCHAR2(4000),
         "COMPANY" NUMBER(10,0),
         "FORM_TYPE" NUMBER(2,0),
         "USER_NAME_DB" VARCHAR2(20),
         "USER_LOCK" NUMBER(1,0),
         "DATE_PASSWD_CHNG" DATE,
         "LOGIN_DIR" VARCHAR2(30),
          CONSTRAINT "SLIKA_USERS_PK" PRIMARY KEY ("ID") ENABLE,
          CONSTRAINT "USER_NAME_UNQ" UNIQUE ("USER_NAME") ENABLEthe table contain 500 rows.
    in addition , when new user entered there are few processes that give him the USER_NAME_DB automatically by executing a functions etc.
    in a few weeks , new table need to be active instead SLIKA_USERS table
    the new table will look like this :
    CREATE TABLE  "SLIKA_USERS_NEW"
       (     "ID" NUMBER CONSTRAINT "ID_NN" NOT NULL ENABLE,
         "USER_NAME" VARCHAR2(20),
         "USER_PASSWD" VARCHAR2(4000),
         "COMPANY" NUMBER(10,0) CONSTRAINT "COMP_NN" NOT NULL ENABLE,
         "FORM_TYPE" NUMBER(2,0),
         "USER_NAME_DB" VARCHAR2(20),
         "USER_LOCK" NUMBER(1,0),
         "DATE_OPENED" DATE,
         "DATE_PASSWD_CHNG" DATE,
         "LOGIN_DIR" VARCHAR2(30),
         "USER_ID_NUM" NUMBER(9,0) CONSTRAINT "USER_ID_NUM_NN" NOT NULL ENABLE,
         "USER_F_NAME" VARCHAR2(10) CONSTRAINT "USER_F_NAME_NN" NOT NULL ENABLE,
         "USER_L_NAME" VARCHAR2(15) CONSTRAINT "USER_L_NAME_NN" NOT NULL ENABLE,
         "USER_MNG_NAME" VARCHAR2(30) CONSTRAINT "USER_MNG_NAME_NN" NOT NULL ENABLE,
         "LAST_LOGIN_DATE" DATE,
         "DATE_CLOSED" DATE,
          CONSTRAINT "USER_NAME_PK" PRIMARY KEY ("USER_NAME") ENABLE,
          CONSTRAINT "ID_UNQ" UNIQUE ("ID") ENABLE,
          CONSTRAINT "USER_ID_NUM_UNQ" UNIQUE ("USER_ID_NUM") ENABLE,
          CONSTRAINT "USER_NAME_DB_UNQ" UNIQUE ("USER_NAME_DB") ENABLEproblem :
    before inserting new user to table SLIKA_USERS_NEW i need to check if the user_name alreay exists in SLIKA_USERS table .
    i need to take all his details and move them to the new table , in addition as you can see , i need to complete some details like the USER_ID_NUM,USER_F_NAME,USER_L_NAME.
    of curse if this user doesn't exist in the slika_users i need to create him as new user.
    i thought about trigger , unfortunately it won't be a good idea since i don't have in table slika_users
    the USER_ID_NUM" ,     "USER_F_NAME" , "USER_L_NAME"
    another problem is : even if i will manage to overcome the problem of moving data from table slika_users .
    to slika_users_new ,
    to manage it after the tables will switch won't be easy though.
    in a few weeks , the slika_users need to rename to slika_users_old .
    and slika_users_new will rename to slika_users,
    that is a necessary step because lots of pages in the application , relate to the table slika_users ,
    in addition if new user need to create i still need to look if it's exists in the SLIKA_USERS_OLD (after i'll switch between the tables )
    please give idea how to overcome those problems
    Thanks In Advanced
    Naama

    Hello,
    Basically it can be done, but you'll need to do it manually. You can create your basic report, and define two link columns, each to the proper form, which will include the desired columns.
    The problem I see in this kind of solution is a great risk for data integrity, especially in a multi-user environment. It will take time to update both forms, and in between, the table record will contains inconsistent data – the first columns can contains data updated by the first form, but the rest of the columns will still contains an old data.
    Regards,
    Arie.

  • VLD-1119: Unable to generate Multi-table Insert statement for some or all t

    Hi All -
    I have a map in OWB 10.2.0.4 which is ending with following error: -
    VLD-1119: Unable to generate Multi-table Insert statement for some or all targets.*
    Multi-table insert statement cannot be generated for some or all of the targets due to upstream graphs of those targets are not identical on "active operators" such as "join".*
    The map is created with following logic in mind. Let me know if you need more info. Any directions are highly appreciated and many thanks for your inputs in advance: -
    I have two source tables say T1 and T2. There are full outer joined in a joiner and output of this joined is passed to an expression to evaluate values of columns based on
    business logic i.e. If T1 is available than take T1.C1 else take T2.C1 so on.
    A flag is also evaluated in the expression because these intermediate results needs to be joined to third source table say T3 with different condition.
    Based on value taken a flag is being set in the expression which is used in a splitter to get results in three intermediate tables based on flag value evaluated earlier.
    These three intermediate tables are all truncate insert and these are unioned to fill a final target table.
    Visually it is something like this: -
    T1 -- T3 -- JOINER1
    | -->Join1 (FULL OUTER) --> Expression -->SPLITTER -- JOINER2 UNION --> Target Table
    | JOINER3
    T2 --
    Please suggest.

    I verified that their is a limitation with the splitter operator which will not let you generate a multi split having more than 999 columns in all.
    I had to use two separate splitters to achieve what I was trying to do.
    So the situation is now: -
    Siource -> Split -> Split 1 -> Insert into table -> Union1---------Final tableA
    Siource -> Split -> Split 2 -> Insert into table -> Union1

  • How to Highlight the CURRENT RECORD in a Table with Report Form

    Hi,
    I have created a Table with Report Form....let suppose the table is - EMP
    Report page - 1
    Form page - 2
    Now, when I do Create / Update on Page 2,....the control is back on Page1.
    Suppose in the Report Page (Page1)..we have 10 records....NOW how should I highlight the CURRENT RECORD in Page 1 with some color to identify the record which I have updated/created just now...
    Thanks,
    Deepak

    Hi Deepak,
    You could do that with a custom report template. I've done that here: [http://apex.oracle.com/pls/otn/f?p=267:175]
    Go to Shared Components, Templates and create a new Report template as a copy of your existing one. Then edit your template. In the above example, the Column Template 1 setting was:
    &lt;td #ALIGNMENT# headers="#COLUMN_HEADER#" class="t18data"&gt;#COLUMN_VALUE#&lt;/td&gt;I copied this into the Column Template 2 setting and updated the Column Template 1 setting to:
    &lt;td #ALIGNMENT# headers="#COLUMN_HEADER#" class="t18data" style="background-color:red; color:yellow;"&gt;#COLUMN_VALUE#&lt;/td&gt;I then set the Column Template 1 Condition to: Use Based on PL/SQL Expression
    and the Column Template 1 Expression to: '#EMPNO#' = '&P178_EMPNO.'
    (In my example, P178_EMPNO is the single item on the linked to page.
    Save those changes and go to your report and change its template to the new one. As long as a selection has been made and P178_EMPNO has a value, the condition will make sure that the report uses the first template for the row with the matching EMPNO value. All other rows get the template from Column Template 2.
    Andy

Maybe you are looking for

  • Factory Unlocked on T-Mobile: iMessage & Facetime Both Verified As Activated But Do Not Work

    Hardware: Iphone 4 OS: 5.1.1 Factory Unlocked Network: T-Mobile (USA). Hi all. Like many I am having a problem getting iMessage & Facetime to work, however, the unique problem I seem to be having is that while both iMessage & Facetime report back tha

  • HT3819 Can I transfer songs from one ipod to another

    If I have an album on an old iPod but not in my iTunes, can I transfer the album from the iPod to iTunes?

  • IWeb and guestbook

    Hello to everybody, Thanks in advance for the answers, but do you know how to link to the guestbook installed on my server, in iWeb, without iframes? I want to make a page with iWeb and integrate de guestbook in the middle of the page, but I don't wa

  • Hide application doesn't work

    Think this is an Exposé issue. Command H to hide an application works on every application on my G5 - but not on my G4 or Powerbook - all running the same system (OSX 3.9) and applications. I'm sure I had to do something in preferences or whatever to

  • Can I reconfigure Adobe Captivate Quiz Results Analyzer (ACQRA) ?

    Hello, I working on capturing all the Quiz results onto a MySQL Database using WAMP. No problem getting the data into the Database using the internalserverreporting.php after some modifications. Still having some trouble reverse engineering  the inte