Form and report on a table - redirecting to report on submit

Hi,
I've created a form and a report on a table...
in a form, one of the item is a radio group (with submit) with static list of values... I've set it up to submit as I am hiding/displaying other items based on the selection... for example, when user select the location value then only city and country fields are displayed and so on...
my problem is that when I make a selection it saves the state and takes me back to the report... when I come back to the report then I see items (hidden/displayed based on the selection that I made before I left the form)
any way to fix it...? please advice
Thanks

Hi,
OK - we can't use a Dynamic Action but we can use Javascript to do this.
Firstly, change the item type to an ordinary Radio button - that is, remove the Submit
Secondly, in your page attribute's HTML Header setting, add in:
<script type="text/javascript">
function submitByRadioButton()
if ($v('P1_PKITEM') != '')
  doSubmit('P1_RADIOITEM');
</script>Replace P1_PKITEM with the page item name for the hidden primary key and P1_RADIOITEM with the page item name of the radio button.
Then, on the radio button item, add the following in the HTML Form Element Attributes setting:
onclick="javascript:submitByRadioButton()"Finally, create a branch that returns to the same page - make sure that the Sequence number puts it before any Unconditional branch. Set the Condition for this to "Request = Expression 1" and enter P1_RADIOITEM (or whatever the page item name is for the radio button) into the Expression 1 setting.
Now, when the user creates a new record, the hidden P1_PKITEM value will be blank. Clicking the radio button at this time will not trigger a submit and the function checks this. For existing records, P1_PKITEM will contain a value, so the function will allow the doSubmit to run.
Andy

Similar Messages

  • 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

  • Form and report on table apex 4.0

    Dear all,
    I installed Apex 4 in rdbms 11R2 based on Linux, created a workspace, everything went fine.
    Now when I try to create a simple form and report based on a table I'm running into problems.
    (I believe I'm doing something wrong, because I didn't see any similar thread) here is what I did:
    table: master_hierarchy_level
    LEVEL_ID     NUMBER(8,0)     No
    LEVEL_NAME     VARCHAR2(20 CHAR)     No
    LEVEL_DESC     VARCHAR2(320 BYTE)     Yes
    CREATION_DATE TIMESTAMP(0) WITH TIME ZONE No
    CREATED_BY     VARCHAR2(20 CHAR)     No
    UPDATE_DATE     TIMESTAMP(0) WITH TIME ZONE     Yes
    UPDATED_BY     VARCHAR2(20 CHAR)     Yes
    VALID_FROM     TIMESTAMP(0) WITH TIME ZONE     No
    VALID_UNTIL     TIMESTAMP(0) WITH TIME ZONE     Yes
    After creating the 2 pages I edit the data fields at the form page to display by default the current date and time:
    a) Format Mask: DD-MON-YYYY HH24:MI:SS
    b) Source Type: SQL query ......
    c) Source Value: SELECT TO_CHAR(SYSDATE, 'DD-MON-YYYY HH24:MI:SS') FROM dual;
    For the created_by and updated_by fields I did:
    a) Source Type : PL/SQL Expression or Function .....
    b) Source Value : :APP_USER
    Nothing else, when I run the report and click the create button everything is fine after filling in the required fields and pushing the save button I receive following error:
    ORA-01400: cannot insert NULL into ("MASTERDB_V01"."MASTER_HIERARCHY_LEVEL"."CREATION_DATE")
    error      Unable to process row of table MASTER_HIERARCHY_LEVEL.
    I tried to find out why now already for several hours and have no clou anymore to look for,
    is somebody able to provide me a hint :-) ??????
    Thanks in advance, Olaf

    Olaf,
    when you changed the source type/value of your date fields you removed the connection from the page item to the database table/column.
    In other words APEX doesn't know that your date fields need to be stored in the table.
    Please set source type back to database column and use the default-value setting to set a default value for the date fields.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at

  • Form and report on the same page...

    Hi,
    I want to have a form and report on the same page... as soon as user enters the information and submit the form via button then the report should be able to display the addition...
    may I know how to accomplish this...
    Thanks in advance

    Hi
    Can you try like this
    1.First create an empty page and add a html region and template as form region and add the necessary fields to insert into table
    2. create a another region with type as "SQL Query" and template as report region and add the necessary fields for the reports.
    Once u entered the details into form region and created process and insert into table and then automatically the report region query will fetch the recently added row and displays in the report.
    Hopes this might helps you.
    Thanks & Regards
    Srikkanth.M

  • 10g Forms and Reports Only

    I am trying to use the Forms and Report Services only install on a RedHat AS3 server. I have been through all of the pre-configuration for Application server and feel that all the requirements have been met.
    When I run the "runInstaller" program I receive an error
    ": bad interpreter: No such file or directory"
    I would assume that this was reference to the script not finding /bin/sh which is really redirected to /bin/bash.
    I created a test script:
    #!/bin/sh
    if [ -f /bin/sh ] ; then
    echo "We Have Shell"
    fi
    exit
    I ran this using the same oracle user at the same prompt and it worked. So this leads me to believe that the bash interpreter is working correctly.
    Any thoughts on what the problem is? Do I have to install a piece of the Application Server first in order to install the Forms and Reports module?

    Can you check if the 'runInstaller' is a dos format file (with CR LF)?
    You can also try 'sh runInstaller' and see if that works.

  • URL Problem Oracle 10g Forms and Reports

    Hello Room,
    As this question is related to forms and reports both, I have posted it here. I have a system which needs to be deployed in Local Lan Network and also the same Local Lan user should be able to access the same application via internet. In Addition there are also suppliers, customers who dosen't have oracle installed but will be accessing forms and reports via the url through internet which will be a natted url to our public IP. I have loaded Oracle 11g on windows 7 and all my network clients are on windows 7. I have not loaded forms and reports 10g on server, but only database 11g is installed on server. My problem is listed in points below:-
    1. Do I need to install forms and reports on server to achieve the above scenario ? or the local network installation of forms and reports on all client PC's will do ?
    2. To start OC4J instance, shall i start it only on server through batch file while booting server, or it needs to be started on all client PC's to start work from client end ?
    3. When i run forms from my client PC I get local url http://127.0.0.1/ to reach forms servlet which end up in http://localpc/.... from cookie redirect, whether this needs to be http://server/...... on all client PC's to reach the forms servlet ?
    4. If I have to start url http://server/ instead of http://127.0.0.1/... automatically while running every form to reach forms servlet, how to achieve this ?
    5. There are reports to be run from forms and parameters needs to be passed in reports from forms 10g. So in web.show_document shall i refer to absolute url for local acccess or http://server url as the same user can go to internet to access the data. ?
    6. if I load forms and reports 10g on server, do I need to install forms and reports on client end seperately to gain access in local network ?
    7. My forms and reports folders are located on server which are shared for access.
    8. What will be the scenario in case of suppliers and customers who does not have anything installed on their PC and will access forms and reports through internet ?
    I want to minimize my work. Please suggest me how to proceed about accessing forms, passing url from forms to reports in web.show_document, and Internet access url ?
    Your help is highly appreciated. Thank you in advance.

    I have tried to explain you in decent way several times that I am not lazy and there are reasons that I do not want to read pdf, because I have already read that all ! In the future please do not respond to my thread. I am not asking for your personal time. If you do not understand my efforts. Just ignore it. I have read all the white papers of Oracle and give me your email id, I will send you all the code which I have read or downloaded. You should know that the knowledge diminish as the technology change. And that does not mean every user in the forum is stupid and as wise as you are. I repeat to state that I have 15 years of experience in Oracle forms 6i._ including Oracle 7,8,9i. This is the first time I am ever visiting oracle forums since past several years. I was the first person to use oracle 7 in my city where people were not knowing what oracle is. At that time I was knowing that the password for scott is tiger which even the reputed institutes in my city was not knowing. at that time I was also knowing that one of the person from oracle made a mistake in indexing the rowid. I think this should be enough to you for now.

  • How do you extract SQL from Oracle Forms and Reports files?

    I am developing an "as is" data model for a government client for a 14 year old system that has three databases, 20 schemas, over 1500 tables, and over 23,000 columns. Needless to say, I do not plan to perform a manual mapping of data to screens and reports.
    Most of the system has been developed in Oracle Forms and Reports. I am trying to map the live tables and columns to forms and reports.
    The process here has been to save the forms and reports files as .fmb and .rdf files. The client does not have an available copy of Oracle Designer, which I understand could be used to extract the SQL.
    Is there a utility somewhere that can parse the .fmb and .rdf files to extract the SQL?
    Thanks,
    Jim Gearing

    Jim,
    I don't know of any utility that will do this. You can convert and save each fmb as a fmt so you can view/search the contents , but I don't recommend that approach.
    On the other hand, you download a copy of Oracle Designer:
    http://www.oracle.com/technology/software/index.html
    It usually is included with Oracle Forms and Reports.

  • Error while using the 'Form and Report' wizard

    Hello,
    I’m trying to create a form and report on EMP, using the APEX wizards, but I’m getting the following error message:
    ORA-20001: Unable to create query and update page. ORA-20001: Unable to create query and update page. ORA-20001: Unable to create form on table. ORA-20001: Error creating shortcut id="" ORA-00001: unique constraint (FLOWS_030100.WWV_FLOW_SHORTCUT_IDX1) violated
    This is something local, on my APEX instance only, but any ideas what is wrong here?
    Thanks,
    Arie.

    Hi Scott,
    >> Do you happen to know where that PL/SQL shortcut came from? Created by you or an apex wizard?
    The original shortcut was probably created by an APEX wizard, but then I changed its type to ‘PL/SQL Function Body’. The shortcuts are not included in the translatable components, so I need a function to determine the application language, and issue the message accordingly.
    >> The type of the shortcut is not part of that constraint
    So changing the shortcut type back to the type I need, after the wizard finished its job, should not have any side effects. Correct?
    >> and the sequence always seems to be 1
    And we don’t have access to it, so we can’t change it manually.
    >> Our bug
    Can you please fill a bug report on that?
    I will post an enhancement request about including shortcuts in the translatable components, but I’ll appreciate you mention this issue also.
    Appreciate your time and efforts,
    Arie.

  • How to store forms and reports in database

    Hi friends,
    How to store the forms and reports in database?
    when i save a form in database it doesnt prompt with any message
    and when i try to retrieve from the list it prompts me with a
    message
    can anyone suggest me the methods of storing the forms in the
    database and retriving from it.
    Jagadeesh
    null

    I believe this will help you
    To store forms & Reports in Database you need to run some
    scripts which are shipped with Oracle
    To install the SQL scripts:
    Start the Oracle Installer and select Custom Installation or
    Removal from the Oracle Developer Installation Options dialog
    box.
    Select Oracle Developer Database Tables from the Available
    Products list.
    Click Install.
    Installing these scripts creates a Start menu item called Oracle
    Developer R6.0 Admin and the associated submenu items Oracle
    Developer Build, Oracle Developer Drop, Oracle Developer Grant,
    and Oracle Developer Revoke. These menu items, when selected,
    run a script or a series of scripts to perform database
    administration tasks.
    Note: I tried to store forms in the database by creating tables
    but in forms fmb will store in database & fmx will store on
    clients machine so you have to install fmx on all client machines
    I tried to store fmx in database but..................!
    If any body knows how to store FMX in database let me know.
    Rao Guduru
    Jagadeesh (guest) wrote:
    : Hi friends,
    : How to store the forms and reports in database?
    : when i save a form in database it doesnt prompt with any
    message
    : and when i try to retrieve from the list it prompts me with a
    : message
    : can anyone suggest me the methods of storing the forms in the
    : database and retriving from it.
    : Jagadeesh
    null

  • Is there any impact analysis tool for Oracle Forms and Reports

    Hi All
    We are curretly looking at tools available to do impact analysis in Oracle Forms and Reports. This is for the maintainance of a large Oracle application developed using forms and reports 10g. We use Oracle Designer but only to maintain the db structure and not for forms and reports generation. Our intension is to find out the impact of db model changes, stored procedure changes in Oracle Forms and Reports. Please suggest any tools that are currently used for this purpose.
    I remember manually maintaining the CRUD matrix for Oracle Forms and Reports for maintainance purpose. CRUD matrix will have the list of all the tables which are affected by the module. But this is a manual activity and hence the responsibility is with the dev team to keep the document updated. Please suggest if there is any alternative to this way which can be more effecient and less error prone...
    I also wonder how these are done in Oracle ERP? how the apps team in oracle is maintaining the forms and reports?
    Thnaks in Advance
    Mahesh Mathew

    Quest (the makers of TOAD) have a tool called SQL Impact which gathers data from forms, reports, triggers, packages etc.
    FormsMate is a simple, cheap alternative for comparing or searching in forms.
    http://www.jockvale.ca/products.html
    Alternatively, you can export forms to xml (with iff2xml90.bat) and reports to jsp (with rwconverter) and simply grep those and your sql scripts. There are grep tools for windows if you need.

  • Application server forms and reporte

    We have linux server redhat5, we installed the forms and reports 10g, now its working fine but client needs to change the with out port,
    so we want use with out port in our url: http://<hostname>/forms/frmservlet?config=webutil
    How to configure the default Port in Forms and Reports server, currently "http://ip:7777/forms/frmservlet?config=webutil" is being used,
    but it is wanted the following instead: "http://ip/forms/frmservlet?config=webutil"
    any one help me in this .
    regards
    lala

    Your question is marked as ANSWERED, so people don't want to look here..
    I don't understand why do you need this? Just link change? Does apache redirection can help you, or you want to achieve something else?

  • Tracking calls to Forms and Reports in an application - Migration

    Hello,
    This is an interesting case. I have an application that has a number of Forms and reports written for 6i. Before I start migrating to 10g, I want to have an estimate of the current usage for this app (for one month), namely the number of times users accessed the forms and the reports.
    For example:
    Form A accessed 675 times
    Form B accessed 30 times
    Form M accessed 0 times
    etc..
    sames things for the reports.
    Based on this statistics, I can say which ones should be migrated first, etc...
    Now, I was thinking about creating a table called USAGE and each time a user clicks on the menu that calls a Form or a report, I will update the corresponding record in USAGE.
    The problem here is that users can access a report or form from within other forms and as such the info I get from the Menu will be only a rough estimate. I need to point out that I don't want to open ALL the forms and check whether there are other calls from there.
    What do you think of this approach and if someone was faced with the same issue, what would be the best bet to get the usage estimate.
    Note: The app is used quite heavily.
    Thanks

    That's one possibility but the thing is that I don't want to open ALL the fmbs and then add that piece of code.
    That's why I want to just work on the Menu and try gather statistics from there. However, that will give me only a rough estimate.
    I was looking at Oracle Trace and I am checking whether I can get the required info (Forms and reports names) from this log for a client/server Forms app. However, I would prefer to see whether someone already had experimented with this.
    Thanks.

  • HELP: Forms and Report Session Context Problem

    Hi:
    I use CONTEXT in our applications. Every time there's a query to
    any of the applications tables it's added a predicate in WHERE
    clause to restrict access to the data that belongs to different
    people!
    The context is set when the user LOGIN into applications (NOT
    DATABASE) using our login system. Each user that login's in
    applications use one user that is always the same (X_USER)
    connecting to database. Each session created after our login
    system validate user creates a CONTEXT in session and that
    context is used to restrict access in tables with the predicate!
    Our problem is... Calling reports form forms on WEB create
    another session with the user X_USER and when create's that
    session the CONTEXT parameters are not SET, so i can SELECT data
    from any table!
    Is there a way to execute in reports our PROCEDURE that set
    context of the session?
    Can the reports use the same session of the forms ?
    Any solution?
    Thankx in advance,
    Ricardo

    No, Forms and Reports use different sessions. What you can do is
    to add a parameter to the report that contains the context. And
    use the Before Parameter Form trigger to set the appropriate
    action.
    I used to set a role to the report user this way, but you can
    adapt it to your particular needs.

  • Oracle forms and report query..!

    Hi all,
    I am new to oracle forms & reports.here in my project we r using oracle forms and reports 6i.
    Is there any option in oracle forms by which I can know which oracle form is hitting which procedure,packages ,table etc in backend database.I dnt know for which oracle form which packages has been called .
    How to know database object name which is calling by oracle forms.
    kindly help me to know package name so that i can start my development work with database packages..
    Regards
    PC arya

    What exactly you want to achieve ? What packages and procedures are being called, you would come to know by opening the form in Forms Builder and going to the relevant sections.
    Anything specific to Oracle Forms you may want to post in Forms forum at Forms

  • How to Install the Forms and Reports 6i in Ubuntu 6.06 LTS

    Dear All,
    I need to install Forms and Reports 6i in Ubuntu 6.06 LTS.
    I had downloaded the d2k6irelease2.tar also and extracted the tar file.
    I don't know how to start up with the installation further., Is there any document available for the installation process inubuntu.. or what are the steps that i need to follow to make it work..?
    Many thanks in advance...

    Hi,
    Here's the Forms and Reports Services Deployment Guide for OAS 10g 10.1.2:
    http://download-east.oracle.com/docs/cd/B14099_11/web.1012/b14032/toc.htm
    You will need to modify your default.env to point to the directory where your .fmx is located and formsweb.cfg to run the specific form, e.g. foo.fmx (default is test.fmx).
    HTH,
    Jim

Maybe you are looking for

  • How to get to the archived documents in KM?

    I am trying to implement a feature that will retrieve (and then delete) archived documents in KM. Any idea where the documents are stored? Thanks Sid

  • How to embed 3D models in web page using JAVA?

    Hello I'm doing a project at University to create a virtual tour of a village. I am creating the buildings in MAYA using polygon planes and cubes and then exporting to VRML. I plan to embed each individual model into a separate web page. Then when th

  • Iphoto, note, notewriter, all close unexpectedly and can't open the app program

    Just had my computer less than 10 days... I have problem opening up iphoto, note and notewriter...all close unexpectedly and can't open these app. What cause this problem and how to fix it?

  • Post xi installtion error

    hi i am prashant from delhi               i sucessfully install xi on my pc nad but i dont know how to configure xi browser when i open internet explorer and type http://localhost:50000/rep/start/index.jsp then 500 internal server error mess comes. p

  • Zahlungsinformationen

    we had to get our credit card renewed and thus have a new number. the creative cloud apps on my desktop stopped working at some point. the adobe app manager opens instead & tells me to update the payment infos. so i logged in and updated the payment