Commit_work on a form with multiple d.b. blocks

Before I click on my "save" button, I manually insert some records into my detailed table 'AR_CASH_APPLIED'.
Then when the user clicks on "save", I go to each data block and commit_work.
Three questions:
1) Do I need to commit_work for each data block this way?
2) When does my previous "insert" statement actually get committed ?
3) Why does my CLEAR BLOCK command not clear all data from my screen. I still see data items for the AR_CHECK block.
Code is here (after the 'insert' has been issued):
     IF v_alert_response = Alert_Button1     THEN                    
     -- this is the cash batch entry block.                     go_block('ar_cash');
          commit work;                                   go_block('ar_check');
          commit work;                    
go_block('ar_invoice');
          commit work;                    
CLEAR_BLOCK;
go_block('ar_clients');                    
          ENTER_QUERY;
END IF;

Commit commits all outstanding transactions in all the blocks - there is no need to visit each one.
Likewise any DML that you've done in code through direct insert, update and delete statements will be committed by the commit_form or commit as well.
Issue an explicit go_block before you clear_block.

Similar Messages

  • I have created a PDF form with multiple drop downs, all with the same drop down values. When I select a value from 1 of the drop down fields, it replicates in all of the others - which I do not want. How can I fix this?

    I have created a PDF form with multiple drop downs, all with the same drop down values. When I select a value from 1 of the drop down fields, it replicates in all of the others - which I do not want. Can I fix this?

    I'm fairly new to this, but I think it has to do with the way you have the drop downs named. Did you copy one then keep pasting it in each field? If so, that is the problem. You should rename each one with a different number: Dropdown1, Dropdown2, etc. I think that might solve the issue.

  • Is it possible to create a form with multiple form fields on a single line?

    Is it possible to create a form with multiple form fields on a single line?  I can't find anything in the documentation or a template that does this.
    I am trying to create a "documents received" checklist with a check box on the left margin, a date-received field to the right of the check box and and a description of the document (Formatted Text) on the far right.
    In the past I have entered the Fixed Text with a word processor, published it to a PDF file, then added the check box and date fields with the Acrobat Forms editor.  I would prefer to use FormsCentral if it is possible.

    We now support multiple fields on one line. This post provides a brief overview.
    Give it a try and send us your feedback.
    Sorry it took so long.
    Randy

  • How to build a form with multiple tables in oracle application express

    Hi everyone,
    I have got problem in building a form with multiple tables.I have a main table with (20) columns and this main table is related to the other tables with the primary key-foreign key relation ship.My requirement is i have to build a form which has fields from many tables and all the fields are related to the main table using (ID) column.In that form if i enter ID field i have to get information from differnt tables.
    Please help me to solve this (building a form with mutiple tables)
    Thank you
    sans

    Sans,
    I am no Apex expert, but with a situation as "complex" as yours, have you thought about creating a VIEW that joins these 7/8 tables, placing an INSTEAD OF trigger on that view to do all the business logic in the database, and base your application on the view?
    This is the "thick-database" approach that has been gaining momentum of late. The idea is to put your business logic in the database wherever possible, and let the application (Form, Apex, J2EE, whatever) concentrate on UI issues,

  • Rearrange pages when printing adobe form with multiple master pages

    Hello!
    Good day to you all.
    I have an issue in regards with printing my adobe form with multiple Master pages. I have 4 master pages:
    1st master page: a
    2nd master page: b
    3rd master page: c
    4th master page: d
    all with different headers and footers all having the same contents (items). I don't have issue with one page content (it just prints 4 pages with different headers and footers). The issue comes out once the items exceed 1 page.
    What happens is that the preview/print shows (example: 3-page item)
    a1-a2-a3-b1-b2-b3-c1-c2-c3-d1-d2-d3.
    What i need is to print these such that all 1st pages of the 4 master page to be printed first, then all the 2nd pages, then all 3rd pages. Please see below:
    a1-b1-c1-d1-a2-b2-c2-d2-a3-b3-c3-d3
    This is because we will be using carbonless copy paper during printing and it's possible that it would be printed on batch jobs. Please suggest ways to do this.
    Thanks a lot in advance!
    Best Regards,
    abap_peer_dangs

    Hi,
    Is that requirement of multiple pages as groups only at the time of print or at print preview also...?
    Can you have a Print button on this screen or you should be using the Abobe toolbar's Print button..?
    Well if this on a click of a button in the form and the requirement is only at the time of print and not on print prieview I can have a JS script which does this...
    Let me know if this suffice, I can try with a local file and send you the script.
    @ Chris: I didn't understand what do you mean by reported, I was eager to hear and learn a solution from you may be a new approach which I am not aware of ...?
    Cheers,
    Sai.

  • Best Solution for Creating an Onlne Purchase order form with multiple calculation fields

    I am a bit confused.  Our school has a Forms Central account which works great for our registration forms but I need to find a solution for creating an online purchase form with multiple calculation fields - I know that forms central does not support calculation fields (too bad) but I know that Acrobat Pro does... soooo...
    Can you create the forms in Acrobat and then somehow integrate the advanced features into forms central?  Do they talk to each other?  Is this easy to do? .... I guess another way to putting it is can you create the forms in Acrobat including all of the advanced features for payment calculation and then host it online using Forms Central to manage and collect the data? (I guess that really is my question)
    Thanks (how does this compare to a solution like Formstack?)

    Hi, thanks.
    The naming convention was the consistant up until a point when I read that you need a '.' syntax (?!) - does anyone know if this is true?
    Attached is a version with Bernd Alheit's suggestion and with all the naming of the fields being consistant. It's still not working for me though after doing this and I'm stuck as to why, because I think it should work. I've also tried writing the calcualting line of code in the same manner that Bernd Alheit suggests before I came on here, and it wouldn't work then.
    As with any coding, it must be something to which I have done, but I can't see it anywhere
    Any ideas? Thanks for helping me
    Cheers

  • How to design a form with multiple lang(Arabic and Eng) in a page

    Hi All,
    Could you pls help me how to design a form with multiple languages. when I set the form proprties-->Form Locale as Arabic. English text is comming in reverse and when set the FormLocale as English, Arabic text is comming in revese.
    Pls help me how to design
    Thanks in advance.
    Regards,
    Jayakar

    I am not sure how you can have two different languages inside the same PDF.
    Alternatively, if you want to place only the static labels, you can convert all the static label in one language to images and set the form language setting to other. And place the images inside the form using Image field. For example, you can keep the form language as English and then convert all the arabic language labels/ Static text to images.
    Anotherway,
         Have same sections in both the languages and hide and unhide based on the user selection of the language..
         if your user chooses Arabic, then you can unhide the Arabic sections and change the form language properties programmatically..
    Thanks
    Srini

  • How to design a form with multiple lang(Arabic and Eng) in a pge

    Hi All,
    Could you pls help me how to design a form with multiple languages. when I set the form proprties-->Form Locale as Arabic. English text is comming in reverse and when set the FormLocale as English, Arabic text is comming in revese.
    Pls help me how to design
    Thanks in advance.
    Regards,
    Jayakar

    I am not sure how you can have two different languages inside the same PDF.
    Alternatively, if you want to place only the static labels, you can convert all the static label in one language to images and set the form language setting to other. And place the images inside the form using Image field. For example, you can keep the form language as English and then convert all the arabic language labels/ Static text to images.
    Anotherway,
         Have same sections in both the languages and hide and unhide based on the user selection of the language..
         if your user chooses Arabic, then you can unhide the Arabic sections and change the form language properties programmatically..
    Thanks
    Srini

  • Fillable form with multiple pages

    I have a fillable form with multiple pages. However, when I save it and open it, it tabs to the end of the first page and will go back up to the top of the first page again. It won't tab to the second page. Instead, the user will have to click there cursor into the first field of the second page, tab through that, and repeat this process from page to page. If the person doesn't know there are multiple pages, they may believe they have finished the form once they get to the bottom of the first page, hit tab, and it takes them back up to the first field on the first page again. How can I make it go from the last field on the first page, tab, and first field on the second page?

    Thanks for the reply. Since my post to this topic I discovered some things about tabbing. With out adding another master page but just keeping the one and making sure that it's occurance is set to a minimum of one and including master page in the numbering it will work as long as the order of fields in the hierarchy tab matches the order in the position of the fields.
    I have a subForm that has a row of fields starting with a button then several text fields. I couldn't tab to the next page because the button was at the bottom of the hierarchy and it wasn't until I moved it to the top that I could finally tab to the next field on the next page. I also discovered that with a one page dynamic interactive form that has some expand able text fields in it and when the field expands so that any fields are pushed to a new second page tabbing seems to not work. In other words when I tab out of that field that is suppose to expand and a new page is added to the form the tabbing quits and in order for it to resume I have to click in a field and from then on it work even if it gets to where a third page and so forth is added. It is just when a one page (in my case) form turns into multiple pages for the first time.
    Hope that makes sense.

  • Can't submit form with multiple signatures

    I have a form with multiple signatures. I've enabled Reader Rights. After the first signature signs, the user must save the document. When the document is saved, then the user cannot submit the form to the next signer. Is there a way to change how this is working?
    Thanks,
    MDawn

    MDawn
    Did you design the form with Adobe Designer?  Assuming you did, when you add a signature field, there is a property enabled by default that "Locks all fields" after signing.  A submit button is also considered a field so it will be locked after the first signature is applied.
    You need to either disable this property (I would not recommend this) or create field collections that are assigned to specific signature fields.  A field collection controls which fields are locked by each signature field when signed.
    Regards
    Steve

  • Create master document form with multiple sub form

    Hi Dear;
    how can i create a master form with multiple sub form using screen painter?
    best regards;

    Hi Dany,
    Do you mean a form connected to a MasterData Object with multiple childs?
    If so:
    1. Create a new ScreenPainter form;
    2. Add a Folder item for each of the childs;
    3. Add a new matrix to each of the childs and change their PaneLevel to from 1 to N (N = number of childs you have);
    If your code you then need to catch item pressed event for the Folder Items and change the form's Pane Level accordingly.
    Regards,
    Vítor Vieira

  • JSP FORMS WITH MULTIPLE INPUT ROWS

    HI,
    I NEED USE A FORM IN JSP WITH MULTIPLE INPUT ROWS TO IMPLEMENT A SALES ITEM PROGRAM.
    I HAVE TRIED WITH INSTRUCTIONS -- WHILE AND DO.. WHILE -- BUT TOMCAT 4.0 DOES NOT PROCESS THEM CORRECTLY BECAUSE IS IN A DEAD LOCK.
    ANY BODY CAN HELP ME?

    Thank you. But i don?t use caps lock. My program look like this:
    <form method="pos" action="echo.jsp">
    <table align="center" cellpadding="0" cellspacing="0" border="1" width="100%" bgcolor="#ffffff">
    <tr>
    <th class="titulo3">C?digo</th>
    <th class="titulo3">Descripci?n</th>
    <th class="titulo3">Nivel seguridad</th>
    <th class="titulo3">Moldes</th>
    <th class="titulo3">j</th>
    </tr>
    <%
    do {                    
    %>                                   
    <tr>
    <td class="titulo3">
    <input name="codigo" type="text" size="10" maxlength="10">               
    </td>
    <td class="titulo3">
    <input name="nombre" type="text" size="30" maxlength="100">               
    </td>          
    <td class="titulo3">
    <SELECT NAME="codopc" >                         
         <OPTION VALUE="nivel1"> Nivel 1                
         <OPTION VALUE="nivel2"> Nivel 2      
         <OPTION VALUE="nivel3"> Nivel 3
         <OPTION VALUE="nivel4"> Nivel 4
         <OPTION VALUE="nivel5"> Nivel 5           
    </SELECT>                                    
    </td>     
    <td class="titulo3">
    <input name="moldes" type="checkbox" size="30" maxlength="20">          
    </td>     
    <td class="titulo3">
    <input name="moldes" type="text" size="10" maxlength="20" value="<%= j %>">     
    </td>                                   
    </tr>               
    <%
    } while ( newlines );
    %>                                        
    </table>
    ....... more code about submit and clear buttons...
    </form>

  • Form with multiple signatures, each with sigDate, only one date fills

    I have a form with two signature fields, Sig1 and Sig2.  Each sig field has an associated date field Sig1Date and Sig2Date.
    I have a Topaz signature pad, so the form users physically sign the document.
    When the first signature is entered (in either Sig1 or Sig2), the associated date field autofills as expected.
    When the second signature is entered the associiated date remains blank.
    I have other forms from vendors with up to six signature fields, each with dates, where each date fills as the signatures are entered... what am I doing wrong?
    Thank you.

    The problem must be in the way the form is constructed. There must be a JavaScript associated with your signature fields that autofill the date, and perhaps it is working on Sig1 but not on Sig2. If you sign the second signature field first, does its date field get populated? Do you know that other people are able to sign both fields in the same PDF and have both dates populated? I am sceptic about that. IMO this is more a question to the author of the PDF that you are signing.

  • Smart forms with multiple languages

    Hi friends
    How to create smart forms in multiple languages please assist me.....
    Thank you friends in Advance for helping me...

    1) Goto-->SMARTFORMS-->Create Form-->Form Attributes-->General Tab-->Select Translate to
      all langagues.
    2) Logon in any Language and open the same form it will automatically give the opoup to translate
    the langauge.
    Regards,
    Gurpreet

  • FORMS WITH MULTIPLE ROWS

    HI FRIENDS,
    I CREATED A CUSTOM FORM AND THEN I EDITED HTML BODY SECTION TO SHOW FIVE ROWS BUT NOW MY QUESTION IS WHICH PACKAGE PROCEDURE TO EDIT TO SHOW FIVE RECORDS AND WHEN INSERT OR UPDATE IS DONE IT SHOULD INSERT OR UPDATE RESPECTIVE ROW.
    THANKS IN ADVANCE.
    null

    Lorie,
    The multi-record forms on tables currently are not supported by Portal. However, there is a creative workaround of using MD forms with one hidden field has been described in this topic:
    http://technet.oracle.com:89/ubb/Forum81/HTML/000757.html
    Thanks,
    Dmitry
    null

Maybe you are looking for

  • Works fine in debug but not when published

    So I have simple navigation code setup to step through frames (I'm using Flash instead PowerPoint--too many pictures that are PSDs and illustrations that are AIs to do the conversions over to something PowerPoint understands). The code: stop(); stage

  • TS1538 My iPod Touch is not recognized in iTunes and not seen in My Computer (Windows XP) either.

    My problems began whe I got the notice that iTunes 10.6.3 was ready to update. I have a iPod Touch 3rd Gen. I have followed all of the troubleshooting steps. I have uninstall all of my security software.  I have followed the steps to uninstall itunes

  • No Contacts or Address Book app

    My new iPhone doesn't have an icon for Contacts (or Address Book).  Is that something I have to add myself?  That seems odd.  I can see contacts if I set out to create a message, but don't see any way to pull up a list of contacts right from the star

  • RFC_GET_TABLE_ENTRIES Is it possible to filter values

    Hi   Is it possible to filter rows while using RFC_GET_TABLE_ENTRIES. It has from_key and to_key but they dont seem to work. I have specified value of all key parameters concatenated into from_key/to_key but they don't seem to work. What is to be sup

  • Running a exe (java command) through Java Code

    Hi I have a program that runs on command line using java command.This program processes a text file that it takes as an argument.I have many files to process so I cannot give command for each individual file. Is it possible that I use Java command to