APEX  How do I create a Form based on a Database Table from other schema

My APEX schema is WISEXP. I have a database table that resides in WISDW schema on the same database. I want to create Tabular form based on this table.
I am not able to create a FORM based on the table from WISDW schema. I am able to create a FORM based on SQL though from this table in WISDW schema - but it does not do any action on Update/Insert rows.
Appropriate Synonyms and grants are created. Is there a limitation or am I missing something? Please advise.
thanks
Rupen

If Rupen is using 2.2 or 2.2.1, it is likely he is running into the bug described here: Re: Workspace to Schema Assignments
In that case, it may be a necessary and sufficient workaround to assign the foreign schema to the workspace.
Scott
Message was edited by:
sspadafo

Similar Messages

  • How to create a Form based on a dynamic table?

    Hello,
    The Select statement below creates a table based on a string (string is a value of an item):
    select * from table (pkg_util.fn_get_table (:P18_VALUE))I need to create a region on a page with a Form based on this table.
    I was able to create a Report, but not a Form.
    I need to create a Form, which would return updated string to the page item.
    How can I solve this please?

    Hello Gentlemen,
    I have created a Tabular Form, based on APEX_ITEM API, as you suggested, here is the code below:
    SELECT apex_item.checkbox (30,
                               CATALOG_ID,
                               'onclick="highlight_row(this,' || ROWNUM || ')"',
                               NULL,
                               'f30_' || LPAD (ROWNUM, 4, '0')
                              ) delete_checkbox,
           CATALOG_ID,
              apex_item.hidden (31, CATALOG_ID)
           || apex_item.text (32,
                              LANG,
                              80,
                              100,
                              'style="width:100px"',
                              'f32_' || LPAD (ROWNUM, 4, '0')
           || apex_item.hidden (33, wwv_flow_item.md5 (LANG, DESCRIPTION)) LANG,
           apex_item.text (34,
                           DESCRIPTION,
                           80,
                           100,
                           'style="width:255px"',
                           'f34_' || LPAD (ROWNUM, 4, '0')
                          ) DESCRIPTION
      FROM V_SYSTEM_CATALOGS_PR
    UNION ALL
    SELECT     apex_item.checkbox
                              (30,
                               TO_NUMBER(9900 + LEVEL),
                               'onclick="highlight_row(this,' || ROWNUM || ')"',
                               NULL,
                               'f30_' || TO_NUMBER (9900 + LEVEL)
                              ) delete_checkbox,
               NULL,
                  apex_item.hidden (31, NULL)
               || apex_item.text (32,
                                  NULL,
                                  80,
                                  100,
                                  'style="width:100px"',
                                  'f32_' || TO_NUMBER (9900 + LEVEL)
               || apex_item.hidden (33, NULL) LANG,
               apex_item.text
                                               (34,
                                                NULL,
                                                80,
                                                100,
                                                'style="width:255px" '  ,
                                                'f34_'
                                                || TO_NUMBER (9900 + LEVEL)
                                               ) DESCRIPTION
          FROM DUAL
         WHERE :P180_TEMP = 'ADD_ROWS1'
    CONNECT BY LEVEL <= 1however, the update process doe not work on that form:
    DECLARE
      lc_string VARCHAR2(4000);
    BEGIN
      FOR i IN 1..APEX_APPLICATION.G_f*30*.COUNT
      LOOP
          lc_string := lc_string|| '[' ||APEX_APPLICATION.G_f*32*(i) || '|' || APEX_APPLICATION.G_f*34*(i) || ']';
      END LOOP;
      --Database processing using the concatenated string here
    END;Can you please see what's wrong with the code?
    Also, I tried to set a temp. item with the value, to see if the process returns something, like that:
    DECLARE
      lc_string VARCHAR2(4000);
    BEGIN
      FOR i IN 1..APEX_APPLICATION.G_f*30*.COUNT
      LOOP
          lc_string := lc_string|| '[' ||APEX_APPLICATION.G_f*32*(i) || '|' || APEX_APPLICATION.G_f*34*(i) || ']';
      END LOOP;
         :p18_temp := lc_string;
    END;and it did not work.
    Also, it is the second Tabular Form on this page. The first one is created using wizard, and it works perfect, with the same update process:
    DECLARE
      lc_string VARCHAR2(4000);
    BEGIN
      FOR i IN 1..APEX_APPLICATION.G_f*01*.COUNT
      LOOP
          lc_string := lc_string|| '[' ||APEX_APPLICATION.G_f*03*(i) || '|' || APEX_APPLICATION.G_f*04*(i) || ']';
      END LOOP;
      --Database processing using the concatenated string here
    END;Also, both forms are opening in a modal pop-up dialog window.
    I use a Dialog Region plug-in for that.
    May be this is causing a problem?
    But still, the first form works fine!?

  • Create Materialized View  based on another database table using db link?

    SQL> SELECT sysdate
    2 FROM dual@CBRLINK ;
    SYSDATE
    21-NOV-12
    SQL> CREATE MATERIALIZED VIEW USERCBR.V_T24_COUNTRY1
    2 REFRESH COMPLETE
    3 START WITH SYSDATE NEXT SYSDATE + (5/24)
    4 AS
    5 SELECT sysdate
    6 FROM dual@CBRLINK ;
    CREATE MATERIALIZED VIEW USERCBR.V_T24_COUNTRY1
    ERROR at line 1:
    ORA-04052: error occurred when looking up remote object SYS.DUAL@CBRLINK
    ORA-00600: internal error code, arguments: [ORA-00600: internal error code,
    arguments: [qksfroFXTStatsLoc() - unknown KQFOPT type!], [0], [], [], [], [],
    ORA-02063: preceding line from CBRLINK

    It works for me:orcl>
    orcl> CREATE MATERIALIZED VIEW scott.V_T24_COUNTRY1
      2  REFRESH COMPLETE
      3  START WITH SYSDATE NEXT SYSDATE + (5/24)
      4  AS
      5  SELECT sysdate
      6  FROM dual@l1 ;
    Materialized view created.
    orcl> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for 32-bit Windows: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    orcl>so there is no problem with the code. HTH.

  • How to create an ODS based on a particular table

    Can Anybody tell me how to create an ODS based on a particular table and what are the basic requirements for that

    Hi Priya,
    If my understanding is right, you want to create an ODS based on a database table.
    Here, I will assume that you already know how to create an ODS. Otherwise, do let me know so that I can guide you on how to do it.
    Basically, an ODS consists of two important sections i.e.
    1. Key Fields
    2. Data Fields
    First, we must identify what are the field(s) in the table that make its records unique. You can think of this as database's primary key(s) e.g. Document Number. These field(s) must be inserted in ODS' Key Fields section. You can only insert Characteristics in Key Fields and the InfoObjects in this section will uniquely identify an ODS record or line item.
    Next, you can include the rest of the fields (either Characteristics and Key Figures) in ODS' Data Fields and activate the ODS.
    Having done that, you have already successfully create an ODS based on a database table.
    Hope that helps.
    Best wishes,
    Syuhair.

  • How can I create a form in FormsCentral be a self-correcting quiz for my students?

    How can I create a form in FormsCentral be a self-correcting quiz for my students?

    Hi;
    You can't make it self correcting.
    The only related idea I have is you could publish the Response Table (the "View Response" tab).  You could add an entry for the "right" answers so after a student completes the form the re-direct URL could take them to the Response Table where they could see their entry along with the right answers that you had added.
    They could not edit their response to correct it unless they have a FormsCentral account (free is fine) and you share the form with them, otherwise they can still view the link to see how they did (but would also see all of the other students answers).
    If this sounds interesting I can give more detail on how to set it up.
    Thanks,
    Josh

  • How can I create a form for users wherein the text field will expand to accommodate additional text?

    How can I create a form for users wherein the text field will expand to accommodate additional text?

    You need to use LiveCycle (PC Only) to create a dynamic form like that.
    The best you can do with Acrobat to view all of the text in a field is to set the field to multiline, and set the size to "Auto" (If you don't set the size to 'Auto', you can enter as much text as you wish, but the user will need to use the scrollbar to view all of the text.)

  • How do i create a form in live cycle E4 that i can save as a PDF that the user cannot save over?

    How do i create a form in live cycle E4 that i can save as a PDF that the user cannot save over?

    You can't. If the file is made read-only via the file system, the user will prompted to save as a new file if they attempt to save.

  • How Do I create Windows Form file in VS and add the form to my VS project?

    C#, How Do I create Windows Form file in VS and add the form file to my VS project by using C# code?
    I like to create a Windows Form file into my VS Win Form project by using C#. I have the path and the file name.
    I need a Win Form with FileName.cs, FileName.Designer.cs, FileName.resx, and FileName (as you see it VS by adding a Win Form manually by using VS)
    Rune Brattas

    You cannot create a Form from code at run time. 
    For one thing, the user running your application will, almost certainly, not have  a copy of Visual Studio to hand with which to build anything.  (Not that you actually need 'Studio at all; Notepad and csc.exe are all you actually
    need), but that's another story).
    You can do this with an awful lot of pain, using the innards of the compiler from iside your own program, compiling the new Form's source code on the fly and then executing the resulting assembly within your application.  IMHO, that's a simply terrifying
    prospect especially as the code you will be compiling will be on someone else's machine and over which you will have absolutely no control.  If you're lucky, they'll spell something wrong and it won't compile.
    The "usual" way to do this sort of thing is to create additional, "plug-in" forms as library assemblies and have your program load and execute these at run-time. 
    Regards, Phill W.

  • How to create tabular form whithout primary key in table

    Hi All,
    I have requirement to create a tabular form but the problem is, the table which I am using in the application don't have any Primary key, I am using only one table can't change any thing in table.(i.e can't add any row in table,no change in data model)
    How can I create tabular form when primary key is not available.
    looking forward for all of your quick responce.
    Thanks in advance.
    Dikshit Kumar Nidhi

    You can create a view like
    select a.rowid id, a.*
    from table a
    and create a tabular form on this view. You can use
    the new column ID as Primary key.Did you try to actually do this? I did at
    http://htmldb.oracle.com/pls/otn/f?p=24317:159
    And when I change something and click Submit, I get an error
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01733: virtual column not allowed here, update "VIKASA"."NO_PK_VW" set "ID" = :b1, "I" = :b2, "J" = :b3 where "ID" = :p_pk_col
    Thanks

  • How do i create a form setup in landscape?

    How do I create a form set in landscape?

    OK - let me ask you first, how are you delivering your form to others to fill out, are you using the URL so that they fill out the Web/HTML form?  Or are you downloading a PDF of the form that you email to people to fill out?
    I think you are likely using the URL (Web Form on the Distribute tab), in which case you want to set the "Form Width" to something wider than 700, that setting controls the width of the form in a web browser.  That controls the width so you can get more of a landscape appearance, you would also add "Page Breaks" where you would want the pages to end so they look the way you want them to.
    If you are using PDF let me know and I will share additional info.  The "PDF paper size/orientation" settings in form setup are for the PDF only and you won't see those changes in a web form.
    I hope that was clearer but am happy to try again;-)
    Thanks,
    Josh

  • Nested Skip Logic: How do I create a form where when a top-level option has changed, that its related sub-fields will retract (disappear)?

    How do I create a form where when a top-level option has changed, that its related sub-fields will retract (disappear)?
    (This question was asked also in 2012 and 2013, but no answer has been provided.)
    THANKS
    Deborah

    Hi qwerty,
    Dun tink that creative customer support sucks cos I had been dealing with them in the past and I can say that their service are quite gd and fast. If you wanted a refund, I tink you need to contact the store that sells you the product. Dun tink creative will refund you though.

  • How do I create a form that is fillable and saveable with acrobat reader 9

    how do I create a form That is fillable and saveable with acrobat reader 9

    To create forms on your computer you need to purchase Acrobat Standard.
    Better yet, Acrobat Pro.
    To provide Extended form Rights you need to purchase Acrobat Professional.
    Or Standard, unless you need to enable digital signatures in Reader.

  • How do I create simple form with issue result request

    How do I create the form, on which took seats GRID with result of the request from table Oracle. I do not use iAS.

    Thank you for this George, however a couple of sticking points.  When I copied and pasted the code over to my file it didn't work, even when I pointed the code to my combo and checked all settings and properties of the other objects.  The unusual thing was that I had to copy all the boxes over from your file with the script and it worked, it even hid and revealled my original objects which I wanted.  I then called the code from my original combo and deleted the one I had copied from your file and all was OK
    The second thing is that when I try and edit the combo box, I can only move between one or two of the options set in the box, although I can see all the other options, I cannot select them the cusor simply jumps to the top options.  I had to delete all the options and retype them all in assigning the 0,a,b,c, etc. Although this works, when I go to edit, it still only allows me to select up to the first four in the edit, but the form appears to be working fine.   Is there a special order which i need to folow, can I have labels in the combo with spaces e.g. "family appointment"?
    And finally, I added some background colours to the section_a_backgrounds (b,c,d) also, but these do not work, even though the text copies across into the section_background.  I'm confused with all these issues, should it not have worked as it was???
    I am using acrobat X pro, does this make a difference?

  • Can we create a hierarchy based on two logical table in 10g RPD

    Hi,
    I have a question, please give me some clarity, about creating hierarchy,
    I know we can create a hierarchy based on one logical table which is form by two physical table...
    Can we create a hierarchy based on two logical table? If yes, and how?
    Thanks in advance!
    anne

    Use preffered drill paths...
    -suman

  • Multi row portal form based on a single table or view

    Hi,
    I have to create a multi row (tabular format) portal form based on a single table. Please help.
    Thanks

    Hi,
    A workaround to create multi row for based on single table has been discussed in the following :
    http://forums.oracle.com/forums/message.jsp?id=469778
    Thanks
    Vineet

Maybe you are looking for