Oracle forms Drafting concept

Sir, In oracle forms can i use draft concept where as data goes to temporary table then after when i save it will go to more then one permanent table . any one can help me on this regards
I am using oracle 10gforms.

Hello,
do you want to store the data across sessions? like: User edits data, saves them temporarily, can edit them when he comes back and they will be stored permanently sometimes later.
If they are stored permanently or deleted in the same session, then there is IMHO no need for a temporary table. You post them to the db without commit and when the user decides what to do, then you simply commit or rollback.
Regards
Marcus

Similar Messages

  • How to use advanced PL/SQL concepts in oracle forms/reports

    Hi all,
    Can any one suggest me how to use the advanced PL/SQL Concepts(nested tables,PAA,Varrays,Objects...) in Oracle forms.
    Actually i Created a Table having column of Varray datatype. now i want to create a item in oracle forms on this field. can any one suggest me the way to do this.
    Thanks,
    Kumar

    Hello,
    Have a look at this one:
    http://sheikyerbouti.developpez.com/tutoforms10g/tutoforms10g.htm
    particularly the chapter about block that contain a collection (2.3.3). The sample is built around a nested table but you have the idea to adapt it to work with a varray.
    Kind regards,
    Alex
    If someone's answer is helpful or correct please mark it accordingly.

  • Oracle Forms - Relation Objects Concepts

    Hi,
    Note: This is a newbie question.
    I have been tasked to address the following question:
    "What do understand by Relation Object? Differentiate between isolated, non-isolated and cascaded relation object properties."
    I have tried to search on this website to find information on the concept of Relation Objects but to no avail. Can anyone please point me to the right resource.
    Thanks and regards.

    Setting Relation Properties that Affect Coordination
    When you create a master-detail relation, you must decide how Oracle Forms should manage coordination between the master and detail blocks.
    Specifically, you need to answer the following questions:
    Should end users be able to delete a master record if there are associated detail records present?
    If end users can delete a master record, should Oracle Forms delete the associated detail records also?
    If an end user makes a new record in the master block the current record, should Oracle Forms fetch the associated detail records immediately, or wait until the end user navigates to the detail block?
    The answers to these questions will depend on application-specific requirements.
    By setting the properties of the relation object, you can implement the master-detail functionality most appropriate for your application.
    The properties that affect the functionality of a relation include Delete Record Behavior, Coordination, and Prevent Masterless Operation.
    Delete Record Behavior Property
    The Delete Record Behavior property (formerly called the Master Deletes property) allows you to specify how the deletion of a record in the master block should affect records in the detail block.
    You can specify Cascading, Isolated, or Non-Isolated:
    Cascading
    The master record can be deleted, and any associated detail records are automatically deleted from the database at commit time.
    If relations are nested to several levels, only records in the immediate detail block are deleted.
    That is, deletions do not automatically cascade to multiple levels of a relation chain.
    Isolated
    The master record can be deleted, but the associated detail records are not deleted from the database.
    Non-Isolated
    The default setting.
    The master record cannot be deleted if associated detail records exist in the database.
    Note:
    If your database is using the ORACLE7 Server cascading deletes feature, do not use the Cascading deletes option in Oracle Forms.
    Coordination Properties
    The values of the coordination properties Deferred and Auto Query determine when the population phase of block coordination will occur:
    Immediate (Deferred = No)
    The default setting.
    When a coordination-causing event occurs, Oracle Forms fetches the detail records immediately.
    Deferred (Deferred = Yes, Auto Query = No)
    When a coordination-causing event occurs, Oracle Forms does not automatically fetch the detail records.
    To fetch the detail records, the end user must navigate to the detail block and explicitly execute a query.
    Deferred with Auto Query (Deferred = Yes, Auto Query = Yes)
    When a coordination-causing event occurs, Oracle Forms defers fetching the associated detail records until the end user navigates to the detail block

  • How to make a billing forms in oracle forms 6.0?

    hi,i want to make a sample billing form in oracle forms.my fields details
    itemcode varchar2(6);
    itemname varchar2(25);
    quantity number(5); prompt quantity in kg
    selling_price number(5);
    subtotal number(5);
    total number(6);
    i have no idea about billing application.if i want to make "subtotal" and "total" as database item?,i only want to show the total price on "total" and "subtotal" fields.i will make "total" field as single record item.and set all others are 10 records displayed.please help me further.i want sellingprice*quantity=subtotal.at last i want to get subtotal+subtotal+n(sum of all subtotal)=total.total is a single display field at bottom.if we entered all items i want to show the total at bottom.i know my concept is so stupid.please help me to make a proper forms.real thanks for reading my question.

    I think you've got worse problems than building the form.
    First you need a proper data model. Billing will involve more than one table, with master - detail relations and that kind of very nice things that a database can achieve.
    Then, once you have designed a datamodel that fits your requirements, you will have to build the form with the builder. It is not a hard tool, but needs a minimum learning.
    Don't take me wrong, but I don't think you can come here and ask such a generic issue.

  • Oracle Spatial and Oracle Forms

    Hi,
    Does anyone have experience with Oracle Spatial and Oracle Forms?
    I have generated a form, which is based on a view. The view uses the mdsys.sdo_relate operator. Somehow I am unable to get the form to perform (to get one record it takes over 20 minutes). While useing sql-navigator to process the same statement it seems no problem. The query that also uses the view, is then processed in 10 seconds.
    I also noticed that when text-functions like ' lower' of ' upper' are used to query the view, the query is processed within 15 seconds. If I don't use ' lower' or ' upper' it takes a long time (> 20 minutes) to process the query. Is it possible that this causes the bad performance of the form?
    On metalink I have found that forms and spatial do not cooperate because of the pl/sql version that
    forms6 uses. There is no solution presented, does anyone know of a work around?
    My configuration is:
    Oracle 8.1.7 on WIN2K @ PIII-800Mhz 256 Mb memory.
    Formsbuilder 6
    If requested I can post the queries that I have made.
    With regards,
    Gerjan Walrecht
    [email protected]
    null

    Hello Priya,
    Look into the following.
    1. Book - Pro Oracle Spatial for Oracle Database 11g by r. Kothuri, A. Godfrind, E. Beinat. This book provides a nice introduction on Oracle Spatial concepts and have examples.
    2. Look at the Oracle Spatial & Graph User Guide
    2. Book - Applying and Extending Oracle Spatial by S. Greener and S. Ravada. This book provides hands on information for advanced oracle spatial application developers. Practical guide on hands-on examples, Data models and  develop cross-vendor database solutions.
    3. This oracle spatial forum, once you understand these concepts.
    In the future consider Certification on Oracle Spatial 11g Certified Implementation Specialist.
    Best
    Navaneet

  • Creating timer problem in oracle forms

    Hello,
            I am using oracle weblogic 10.3.5 with oracle forms 11g at windows 7.I am trying to make a trigger but getting frm 40738 argument 1 to builtin GET_APPLICATION_PROPERTY cant be null error. I am using code at when-new-form-Instance trigger:
    declare
        timer_id TIMER;
        one_second number:=1000;
        st varchar2(100);
    begin
        timer_id :=find_timer('CLOCK_TIMER');
        If not id_null(timer_id) then
            delete_timer('timer_id');
        else
            timer_id := CREATE_TIMER('CLOCK_TIMER',one_second,REPEAT);
            --timer_id:=create_timer('CLOCK_TIMER',one_second,repeat);
            st:=Get_application_property(TIMER_NAME);
            message(st);
            end if;
            select to_char(sysdate,'HH24:MI:SS') into :EVENTS.CURRENT_TIME from dual;
            exception when others then
            message(TO_CHAR(SQLCODE)||''||SQLERRM);       
        end;
    and at  When-Timer-Expired trigger:
    declare
        timer_name varchar2(30);
    BEGIN
       timer_name := GET_APPLICATION_PROPERTY(TIMER_NAME);
    IF  timer_name = 'CLOCK_TIMER' THEN
          SELECT  TO_CHAR(SYSDATE,'HH24:MI:SS')
          INTO   :EVENTS.CURRENT_TIME
          FROM   DUAL;
    END IF;
       EXCEPTION WHEN OTHERS THEN
          MESSAGE(TO_CHAR(SQLCODE)||''||SQLERRM);
    END;
            Thank You
    regards
    aaditya.

    The problem is that you have a local variable with the same name as the CONSTANT "TIMER_NAME".  Therefore, your call to GET_APPLICATION_NAME is passing the value of your Local Variable to the built-in instead of the value of the CONSTANT 'TIMER_NAME."
    declare
        timer_name varchar2(30);
    BEGIN
       timer_name := GET_APPLICATION_PROPERTY(TIMER_NAME);
    IF  timer_name = 'CLOCK_TIMER' THEN
    Change your code so your variable TIMER_NAME is unique (different) from the constant TIMER_NAME variable. A common programming standard prefix your variable names with the data time.  Following this concept, rename your variable to V_TIMER_NAME.
    Craig...

  • OLE Containers in Oracle Forms 6i

    Hello,
    We have an Oracle Forms 6i application which stores a large number of documents in LONG RAW columns in Oracle 10g using serialized OLE Container objects. Is there a way to automate the extraction of those documents (PDF and DOC) from the database to the file system?
    Edited by: rpetrk1 on Jul 11, 2012 5:03 PM

    If all you want to do is extract the documents from the Long Raw columns, you can use UTL_FILE to extract the binary content to the file system. You would have to loop through the records in your table to extract each file. Take a look at article Export BLOB Contents Using UTL_FILE that I googled. Granted, this article discusses exporting a BLOB not a Long Raw, but the concept is the same and you should be able to modify the code sample in the article to work with your Long Raw columns.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Import OLE methods in Oracle Forms 6i

    Hi,
    I am experiencing some problems to import OLE methods in Oracle
    Forms 6i.
    In Forms 6i, I select Program->Import OLE Library Interfaces
    menu option. After the Import OLE Library Interfaces dialog box
    appears, I can see the OLE Class that I would like to access
    but none of its methods or events.
    Why the methods and events do not appear?
    Thanks in advance.

    If all you want to do is extract the documents from the Long Raw columns, you can use UTL_FILE to extract the binary content to the file system. You would have to loop through the records in your table to extract each file. Take a look at article Export BLOB Contents Using UTL_FILE that I googled. Granted, this article discusses exporting a BLOB not a Long Raw, but the concept is the same and you should be able to modify the code sample in the article to work with your Long Raw columns.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Printing a document without opening it in Oracle Forms 10g

    Hi Friends,
    This is my first thread in this forum. Please any one give me a solution for my below request.
    We use oracle 10g and windows (any version). I want to print some files available in a folder without opening it (run in background) through oracle forms.
    My requirement is:
    A folder contains 10 files of word and excels documents. The client machine user (for example 3 clients’ machines who has different default printer configuration) has to trigger the print command to print the documents.
    * I have found Article "Java Bean to print a file to Local Printer" (http://forms.pjc.bean.over-blog.com/article-6621538.html). I do think it will help.
    * I have found a windows command prompt print concept.
    PRINT mytext.txt /D:LPT2
    Prints a text file.
    PRINT [D:device] [[drive:][path]filename[...]]
    /D:device specifies a print device.
    * The command prompt print syntax is used with webutil function as given below.
    CLIENT_HOST('cmd PRINT mytext.txt /D:LPT2);
    1) is the web util syntax only enough for this requirement?
    2) In this how to find the default printers in each client machines and use in the place of syntax?
    3) Or any other ways available for this requirement.
    I look forward solution for this question....!

    Hi Jeshra,
    Another option would be to find or write a Windows PowerShell script to print any file and then call that from CLIENT_HOST. Many file types, including Microsoft Office files, have a print operation registered with Windows so you can right-click on them in Windows Explorer and choose "Print." You should be able to exploit this ability with PowerShell.
    A quick Google search revealed this potential PowerShell solution:
    http://powershell.com/cs/blogs/karl-prosser/archive/2009/02/10/print_2D00_file_2D00_function.aspx
    PowerShell is installed by default only on Windows 7 so you would have to install it on older Windows clients.
    Hope that helps,
    Brian

  • Does it exist an Oracle Forms Tutorial?

    Hi,
    for beginning to use Oracle Forms, in addition to the Help on line of Forms Builder, doesn't it exist a good Forms Tutorial which explains how to create a form step by step?
    Thanks!

    Mark,
    Although the first two of the following links are for older Forms versions, the concepts are still valid across all Forms versions.
    <ul>
    <li>A Tutorial on Oracle9i Forms and Reports
    <li>iSelfSchooling - Basic Introduction to Forms
    <li>Oracle Forms 10g: Demos, Tips and Techniques
    </ul>
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • How to run database procedure in oracle form

    Hi,
    I have created a database procedure, it run successfully at server side, but I need to run it on oracle form, how I'll do ?
    Thanks
    Baloch

    Baloch,
    Essentially, you call your database stored procedure the same way in Forms as you do in SQL Plus. The difference is that you need to call the procedure in a Forms Trigger versus a SQLPLus prompt. The Forms user must have execute privileges to the stored procedure as well. The Forms trigger depends on when and where you need the procedure to run. For example, if you need the procedure run in conjunction with a button pressed in your form, you would code your When-Button-Pressed trigger to call the stored procedure. If the db user is different fro.m the Forms user, make sure you fully qualify the call to the procedure.
    Here is a small code sample to demonstrate:
    /* Sample When-Button-Pressed trigger */
    BEGIN
       IF <Condition is true> THEN
          /* Call Database procedure */
          SCHEMA.PROCEDURE_NAME(<any procedure parameters here>);
       END IF;
    END;This is a very basic example, but it should make the concept clear. ;)
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.
    Edited by: CraigB on Jul 22, 2010 10:57 AM
    Edited by: CraigB on Jul 22, 2010 11:02 AM
    Edited by: CraigB on Jul 22, 2010 11:04 AM
    Edited by: CraigB on Jul 22, 2010 11:04 AM

  • Help : Unable to use Java Beans in Oracle forms 6i

    Hi ,
    I have been trying to run few sample code to understand how to use Java beans in oracle forms 6i .But have been largely unsuccessfull.
    It will be great if somebody can provide me with some simple form( and java code )which uses java beans concept to give some data to the java program and receive some data from it . Pls inform me about the settings that need to be done.
    If you guys know it then pls take the pains of writing a simple form and java code.
    i hope somebody will respond because your reply is very necesary for me to proceed.
    U can email me the code > [email protected]
    Thanks in advance.

    Thanks for your reply Francois.
    Actually i am not facing problem understanding the programming technique.
    I think the problem at my end is more of a cofiguration one.I am using forms version 6i
    on oracle 8.
    Every time i set the imlementation class property of the bean area it gives an error 13010 which translates to that "the class being mentioned is not extending the IView class".
    The class i have written extends VBean so i am not sure why this error is occuring.
    I think if oracle (correctly) finds the java class to use then i will be able to proceed.
    Pls reply.
    If you have some code that is working fine then pls send it to me.And also inform is some environment variables have to be set for its use.

  • Oracle Forms Recognition - non-Accounts Payable application

    Hi
    I've done a couple of projects using Oracle Forms Recognition (OFR) to process invoice images for Invoice Automation. Recently, I was asked to configure OFR to process some images for another purpose, as a proof of concept. Put simply, I just need to grab a couple of values from scanned images. No validation required.
    Here's what I have done so far:
    - I created a new project in Designer, and have been able to create the new fields that I want to pull off the images.
    - I copied the AP ini file and have configured it as best I can
    - I created a new RTS instance and pointed it at the new ini file.
    However, when I try to start the RTS instance, it starts and then stops straight away. I checked the OFR logs, and there are no errors that I can see.
    Does anyone have any suggestions about possible culprits for the RTS issue? Also, any suggestions on how to configure the ini file would be appreciated. For exaple, there are a lot of sections in the ini file that relate directly to AP. For instance, the PON_ sectionrelates directly to the PO Number field in Designer. Where is that relationship defined?
    Finally, regarding the Learnset - obviously, with AP with have the supplied Learnset. With my custom solution, I will have an empty Learnset. Any suggestions how to get the process moving with an empty Learnset?
    Thanks for any thoughts,
    A

    Just in case, I have to ask if you've set the RTS batch scanning delay mode to something other than the default of 0 which scans once and stops?

  • What oracle forms / reports version are using in EBS R12?

    Hi all,
    We are planning to upgrade to EBS R12. what oracle forms / reports version are using in EBS R12?
    Thanks.

    Hi,
    Forms and Reports 10.1.2.x are used by Oracle Applications Release 12.
    Note: 437878.1 - Upgrading Forms and Reports 10g in Oracle Applications Release 12
    Oracle Applications Concepts
    http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121oacg.pdf
    upgrade forms reports R12
    http://forums.oracle.com/forums/search.jspa?threadID=&q=upgrade+forms+reports+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Exposing Oracle FORMS to PORTAL...?

    Hi Sharmila/anyone..!
    Is there any sample available for exposing Oracle FORMS 6. developed application to PORTAL. Or is there anything needs to be installed on PORTAL server to access Oracle FORMS...!
    Any idea would be highly appreciated.
    Thanks.
    Rakesh.

    Hi,
    You can have a look at Metalink Note: 132858.1 ( Is it possible to publish Reports6i/Forms6i as portlet within Portal? ).
    The note is basically for Portal 3.0.9.x, but the concepts discussed in this Note shoutd give you the necesssary ideas.
    Regards,
    Sandeep

Maybe you are looking for

  • Can no longer get power.

    I got the camera connection for my iPad today and downloaded some photos from 2 different cameras. I had disconnected the camera connection from the iPad and was browsing through the photos, checking out the features. I cut the power off to the iPad,

  • GoldenGate Installation Queries...

    Please help me on the below questions..?? I got some questions on oracle goldengate configuration: 1) My source and Destination are in different nodes, then do I need to configure listener @ target db and Tns @ source db? 2) If my source and destinat

  • Space around text in a box

    I am following the instructions regarding margins but whilst having lots of space on the right it remains very tight on the left. It's supposed to make the same amount of space all around the text?? Any ideas?

  • Is it possible to use Global class variable in a  BAdi

    Hello Experts,   I have a requirement wherein ,          I need the Reference of the Class Object to be used in a BAdi. The class object is defined as a global variable. By any means can I use the reference variable inside the BAdi. thanks

  • Adobe creativ suite 3 web premium problem on vista

    Hi I just got my new computer and have installed the adobe web premium package. The installation was successfull but when I try to run one of the programs it won´t run. Like Dreamweaver, I run it and it appears in the taskmanager as a prosess but not