Clear the content of Checkbox without looping for every record

Hi all,
I am Karthik. I am working in Oracle EBS. I am developing one form in which it contain 2 checkbox. if checkbox1 is selected in 1st record it need to check checkbox2 all the record till the end of the block. when i uncheck it need to do reverse. what i facing during unchecking it need to loop through all the record and it assign the value. I use clear_item(even i know it use only for clearing the text_item) it is not working.
Is there any other way than this to uncheck?
Please specify apps property for set_block_property, set_window_property,set_item_instances_property,get_item_property,get_item_instance_property
the procedure is
/* This Procedure take care of post processing when button copy is pressed in form
          It take care of
          1.If the number of record in the block exceeds 1000 then it display a message, to confirm the copy to proceed
          2.If it less than 1000 then it directly proceed to copy by enabling copy_from and copy_to checkbox.
          3.Once copy button is pressed the label of copy button changed to cancel copy
          4.Cancel copy button is pressed , copy_from and copy_to checkbox is disabled in form
     Variable Declaration Purpose
     no_alert_button This variable used to track which button is pressed by user when alert message is shown
PROCEDURE PROC_COPY_BTN_FCN IS
     no_alert_button NUMBER;
BEGIN
          IF      Get_Item_Property('BLK_PROD_PROFILE.BTN_COPY',LABEL)='Copy'
          THEN
               IF PACK_FORM_VAR.no_record_count >1000
               THEN
                              Fnd_Message.Set_String('Current Block Contain '|| PACK_FORM_VAR.no_record_count ||' Records. Copy may Take Time');
                              Fnd_message.Show;
                              no_alert_button :=Show_Alert('ALERT_RECORD_COUNT');
                              IF no_alert_button =ALERT_BUTTON1
                              THEN
                                        --IF      Get_Item_Property('BLK_PROD_PROFILE.BTN_COPY',label)='Copy'
                                        --     THEN
                                        --     :parameter.G_query_find := 'FALSE';
                                             Set_Block_Property('BLK_PROD_PROFILE',Query_allowed,property_false);
                                             App_Special.Enable('FILE.SMARTBAR_FIND',PROPERTY_OFF);
                                        --     set_menu_item_property('VIEW.FIND',ICON_IN_MENU,property_off);
                                             App_Special.Enable('VIEW.FIND',property_off);
                                        Set_Window_Property('WIN_PROD_PROFILE',WIDTH,10.3);
                                        Set_Block_Property('BLK_PROD_PROFILE',BLOCKSCROLLBAR_POSITION,9.691,.906);
                                             App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_CONTINUE',VISIBLE,property_true);
                                             App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_TO',VISIBLE,property_true);
                                             App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',VISIBLE,property_true);
                                             App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',ENABLED,property_true);
                                             App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',UPDATE_ALLOWED,property_true);
                                        --App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_DESELECT',VISIBLE,property_true);
                                        Go_Item('BLK_PROD_PROFILE.TEXT_PROD_BRAND');
                                        --App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_COPY',VISIBLE,property_false);
                                             App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_COPY',label,'Cancel Copy');
                              END IF;
          ELSE
                              Set_Block_Property('BLK_PROD_PROFILE',Query_allowed,property_false);
                         App_Special.Enable('FILE.SMARTBAR_FIND',PROPERTY_OFF);
               --     set_menu_item_property('VIEW.FIND',ICON_IN_MENU,property_off);
                    App_Special.Enable('VIEW.FIND',property_off);
               Set_Window_Property('WIN_PROD_PROFILE',WIDTH,10.3);
               Set_Block_Property('BLK_PROD_PROFILE',BLOCKSCROLLBAR_POSITION,9.691,.906);
                    App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_CONTINUE',VISIBLE,property_true);
                    App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_TO',VISIBLE,property_true);
               App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',VISIBLE,property_true);
                         App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',ENABLED,property_true);
                    App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',UPDATE_ALLOWED,property_true);
               --App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_DESELECT',VISIBLE,property_true);
               Go_Item('BLK_PROD_PROFILE.TEXT_PROD_BRAND');
               --App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_COPY',VISIBLE,property_false);
                    App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_COPY',label,'Cancel Copy');
          END IF;
          ELSIF Get_Item_Property('BLK_PROD_PROFILE.BTN_COPY',label)='Cancel Copy'
          THEN
                    Set_Block_Property('BLK_PROD_PROFILE',Query_allowed,property_true);
                    First_Record;
                    LOOP
                         IF :System.Cursor_Record = PACK_FORM_VAR.no_currec
                         THEN
                                        :BLK_PROD_PROFILE.CKBX_COPY_FROM := 'N';
                                        Set_Item_Instance_Property('BLK_PROD_PROFILE.CKBX_COPY_TO',current_record,UPDATE_ALLOWED,property_true);
                         ELSIF :System.Cursor_Record <> PACK_FORM_VAR.no_currec
                         THEN
                                        :BLK_PROD_PROFILE.CKBX_COPY_TO := 'N';
                                   Set_Item_Instance_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',current_record,UPDATE_ALLOWED,property_true);
                                        Set_Item_Instance_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',current_record,INSERT_ALLOWED,property_true);
                              END IF;
                    EXIT WHEN:System.Last_Record ='TRUE';
                    Next_Record;
                    END LOOP;
                    /*     go_item('BLK_PROD_PROFILE.CKBX_COPY_TO');
                         Clear_item;
                              go_item('BLK_PROD_PROFILE.CKBX_COPY_FROM');
                         Clear_item; */
                         :BLK_PROD_PROFILE.CKBX_SELECT_ALL :='N';
                         --App_Item_Property.Set_property('BLK_PROD_PROFILE.BTN_DESELECT',visible,property_false);
                    --     App_Item_Property.Set_property('BLK_PROD_PROFILE.BTN_DESELECT',enabled,property_false);
                         App_Item_Property.Set_property('BLK_PROD_PROFILE.CKBX_SELECT_ALL',visible,property_false);
                         App_Item_Property.Set_property('BLK_PROD_PROFILE.BTN_COPY',VISIBLE,property_true);
                         App_Item_Property.Set_property('BLK_PROD_PROFILE.BTN_COPY',ENABLED,property_true);
                         App_Item_Property.Set_property('BLK_PROD_PROFILE.BTN_CONTINUE',VISIBLE,property_false);
                         App_Item_Property.Set_property('BLK_PROD_PROFILE.CKBX_COPY_FROM',VISIBLE,property_false);
                         App_Item_Property.Set_property('BLK_PROD_PROFILE.CKBX_COPY_TO',VISIBLE,property_false);
                         --App_Item_Property.Set_property('BLK_PROD_PROFILE.BTN_DESELECT',label,'Deselect');
                         SET_BLOCK_PROPERTY ('BLK_PROD_PROFILE',BLOCKSCROLLBAR_POSITION,8.5,0.906);
                         set_window_property('WIN_PROD_PROFILE',width,8.9);
                         App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_COPY',label,'Copy');
                         App_Special.Enable('VIEW.FIND',property_on);
                         App_Special.Enable('FILE.SMARTBAR_FIND',PROPERTY_ON);
          END IF;
END;
Please help me to solve this issue.
thanks and regards
Karthik M

You are creating your vaiables in the declerative block as
<%!
String [] equipment=new String[60];
String [] type=new String[60];
int i=0;
int j=0;
%>
Place these declerations outside the declerative block i.e. in simple scriplets....
Now on each page access you will get fresh variables
Hope this helps...

Similar Messages

  • How to create checkbox in WAD for every record

    Hi All,
    We have a requirement where in the user selects some of the records from the IP screen and he should be able to see only those selected records and also should be able to plan on the same. So how can i create a checkbox in WAD for each and every record. If this is not possible through check box then are there any other options to achieve this. Request your valuable inputs.

    Hi,
    Not sure if you can create a check-box in wad but for sure you can set properties of the table in which you display your data. There should be something like "Selectable rows" (don't have access to the system now). When you switch it on you will be able to select rows of your report. Then you need to set filter based on the selection you made.
    Tomasz

  • Clear the content of a text field

    hello guys,
    i have text fields in a screen which are been populated in the PBO. Now i want to clear the content of the  text field such that the user can input new values in those text field.
    so, anyone knows how i can achieve this.
    tried,
    text field name = ' ', space.
    clear text field name.
    but none worked.
    thanks you for ur help.

    Hi,
    I think you have doen some thing like this in PBO.
    screen_field_name = 'some value'.
    So now in PAI you can do the following.
    CASE sy-ucomm.
         WHEN 'F_CLEAR'.    " Fcode for the clear button in the screen.
          CLEAR : field_name.
      ENDCASE.
    If the field is a mandatory field then you need to create a AT EXIT module and write the same code in that.
    Hope it helps you.
    Thanks,
    Sri.

  • Clear the contents of a field on open

    Hello,
    I would like to clear the contents of a field upon opening a form record. This field will then be populated with the logged on user name, V('APP_USER'). This is to display the user who last edited the record.
    Does anyone know how to do this? The field will only update if it is empty to start with so I need to delete the field contents only if the 'Save' button is pressed and then replace it with the current logged in user.
    Thankyou in advance,
    Kind Regards,
    Steve Welch

    Hello Scott,
    Sorry it was very simple in the end. Thanks for pointing me in the right direction. PL/SQL Expression, V('APP_USER')
    Kind Regards,
    Steve Welch

  • How to clear the open items and parked items for customer

    Hi Experts,
    I need to clear the open items and parked items for customer.
    So any one could let me know the transaction code and procedure for clearing the items for customer.
    Best regards,
    Kesava balaji.

    Hello,
    Parked items will have NO RELEVANCE, unless you post it.
    You CANNOT clear parked items.
    You can clear the posted items using F.13 or F-32
    Regards,
    Ravi

  • How can I view the contents of a free trial for adobe fireworks cs6 on mac

    how can I view the contents of a free trial for adobe fireworks cs6 on mac.
    My friend told me to find the application in finder then hit control and click it and then it should give you the option to click
    "view package contents"
    This was not the case
    please help thank you

    When posting in Apple Communties/Forums/Message Boards.......It would help us to know which iMac model you have, which OS & version you're using, how much RAM, etc. You can have this info displayed on the bottom of every post by completing your system profile and filling in the information asked for.
    CLICKY CLICK---> https://discussions.apple.com/docs/DOC-3602
    CLICKY CLICK-----> Help us to help you on these forums

  • Hi there, can anyone tell me how to make make Garageband ignore HDMI as an audio output-device on a 2013 Mac Mini? Now it keeps on prompting me: Do you want want to use the HDMI device (monitor without audio) for audio output? Thanks in advance, Grtz T.

    Hi there,
    Can anyone tell me how to make make Garageband ignore HDMI as an audio output-device on a 2013 Mac mini i7 using an Apogee jam as an input for bass and a Behringer USB DAC with RCA audio output? Now it keeps on prompting me: Do you want want to use the HDMI device (monitor without audio) for audio output? I'm also suffering massive audio lag issues with the Apogee jam after waking the mini from sleepmode, wich pretty much renders it useless.
    Thanks in advance,
    Grtz T.

    I think the easiest way to do this is to have the EyeTV app running in one user account and sent via HDMI to the TV, and use a separate user account for Screen Sharing. Both logins can be active at the same time and with Lion you can connect via screen sharing to which ever login you need.
    With regards to the Mac video resolution changing, when it is not the current input on your AV receiver. This is 'normal', if the Mac sees no signal it drops down the a lower level. What you need is to buy a HDMI Detective Plus which tricks the Mac in to always seeing a signal and hence it will not drop down the resolution. See http://www.gefen.com/kvm/dproduct.jsp?prod_id=8005
    The Mac mini does have an IR receiver. This can be used with the EyeTV app, iTunes, and similar. Yes I believe EyeTV would run for prolonged periods quite happily, it is has been around for a long time and had most of the rough edges polished off. However one issue you will have to deal with is that it does not automatically update its program guide data. For this you might have to write or modify an AppleScript. Elgato support or their user forums will be a lot of help.
    You can set EyeTV to convert recordings to an iTunes (Apple TV) compatible format and then delete them from EyeTV.
    The HDMI Detective should solve your handshaking problems.

  • How to clear the contents of a table

    I was using a 'build table' to collect some datas and pass it to an 'Express  table'.
    what are the possible options to clear the contents of that table?
    How can i clear the contents using a 'button'?

    Build table function has an additional input called 'Reset'
    Attach a boolean to it.
    On front panel, set the boolean's mechanical action as 'latch when released'
    Look at attached vi
    Regards,
    Dev
    Message Edited by devchander on 08-06-2007 08:02 AM
    Attachments:
    reset table.vi ‏57 KB

  • How to clear the contents of table control

    Hi All,
              How to clear the contents that are present in a Table control. If there is any code Please Let me know.
    I will assign full marks to the correct code.
    Pradeep Kumar Kota.

    Hi
    U need to clear the contenents of internal table used to store the record displayed by table control.
    Every time the PBO is triggered the table control is automatically cleared, so you need only not to transfer any data from internal table to table control.
    So you should show how your PBO if you want a right answer.
    Max

  • Lock the production order creating without material for order type zp01

    Hi all,
    Good morning.My client wants to lock the production order creating without material for order type zp01.He does not want to create production order without material.Its very urgent.Please guide me the settings if any.
    Thanks and Regards
    Sukumar

    Hi Sukumar,
    You can do by applying user exit.
    Use PPCO0007 - Exit when saving production order.
    Function module - EXIT_SAPLCOZV_001.
    Include Program - ZXCO1U06
    Write your Code:
    *&  Include           ZXCO1U06
    Regards,
    Sankaran

  • 48 Hours ago I started to upgrade to Mtn Lion on a now 10 day old IMac - 30 minutes ago I got the email with the content code and redeem code for the download from the app store - it said download was happening, but nothing happened for 30 min - FIX IT!

    48 Hours ago I started to upgrade to Mountain Lion on a now 10 day old IMac - 30 minutes ago I got the email with the content code and redeem code for the download from the app store - it said download was happening, but nothing happened for 30 min - HOW DO I (or you) FIX IT!?

    This is a User's Forum, yelling at us won't help. You have 90 days of customer support via telephone. Use them as they can interact with their system and hopefully get you back on track. Otherwise take it to them at the Genius Bar and have them make it good.

  • I have iphone 3gs . that i erased all the contents , it going on process for more than 23 hours pls solve this

    iphone 3gs
    i erased all the contents .its going on process for more then 23 hours pls solve this
    pls pls pls pls
    thanks & regards
    ganesh

    Something has gone wrong. Force the phone into recovery mode, as described here, & restore it:
    http://support.apple.com/kb/ht1808

  • HT201272 click the tab for the content type you're looking for (Music, Movies, TV Shows, Apps, or Books). No. a lie

    "From your Purchased page, click the tab for the content type you're looking for (Music, Movies, TV Shows, Apps, or Books)."
    Ok, Movies only in US.. that is fine.. BUT I only have Apps and Books to select. Where is my option to download my music again? I can see my purchases under my account but from the store trying to follow the described method - impossible!
    I don't care about apps or books.. music.. I want my paid music. No wonder people pirate music?!

    Zesty.Zooma wrote:
    But will I be able to keep the data stored in the applications, photos, books and also the sorting and the folder arrangements the same way they were, after erasing all the data and synchornizing with the new library?
    That is the aim of the process set out here: Recover your iTunes library from your iPod or iOS device.
    tt2

  • How to execute a loop for every 15 minutes

    how to execute a loop for every 15 minutes or 30 minutes constantly...

    I need to insert a number into an array for every 15mins continuously..and the array need to hold all datas for example in 0th position i insert a value 10 by 10.00am, after that at 1st position i need to insert 11 by 10.15am, next at 2nd position i need to insert 12 by 10.30am and so on...how this can be done

  • Access 2010 Chart - Report returns an identical chart for every record in the underyling query

    Hi there, I hope someone can help me with this. I've created a stacked column chart in a Report. The chart seems to be working fine but my report is returning a chart for every record in the source query.  The chart adds up the days each vehicle in
    a fleet was used in a given time frame.  I'm not a code writer so wizarded my way to the following:
    TRANSFORM Sum(QVehicleDaysUsed.[DaysOfUseThisMonth]) AS SumOfDaysOfUseThisMonth SELECT QVehicleDaysUsed.[YearMakeModelPlate] FROM QVehicleDaysUsed GROUP BY QVehicleDaysUsed.[YearMakeModelPlate] PIVOT QVehicleDaysUsed.VehicleUseForMonthStarting;
    The chart seems to be producing exactly what I want but it's repeated once for every record in the source query. I don't know if this is the issue but I don't have a Master/Child field linking the chart to the report it's in - chart is unbound and therefore
    won't allow me to link fields. I'd sure appreciate any help you can offer! Thanks!
    (Incidentally VehicleUseForMonthStarting is a date field - ideally it should be shown as a DatePart MMMM but for whatever reason Access is balking at the Format expression.)
    Thanks!

    GOT IT! Hurray.  Obvious after giving it more thought... I had to make the report the chart was in Unbound. :) Leaving post up in case it helps someone else out.

Maybe you are looking for

  • Microsoft Outlook 2011 for Mac sync Contacts and Calendar issues

    OK, so I have a Macbook Pro with OS X Mountian Lion. I have Microsoft Outlook 2011 for Mac installed. Asked @BlackberryHelp on Twitter how to sync my Blackberry Torch with Outlook as it seems to default to using the builtin Apple Contacts and Calenda

  • Original Mac mini and 1680 x 1050 resolution

    I have one of the original Mac mini's with the ATI Radeon 9200 graphics card. Can this be used with a 22" 1680 x 1050 DVI or VGA display?

  • Problem during new database setup in Oracle 10g

    Hi All I have been trying to create a database in Oracle 10g but due to certain reasons i havent been able to create the same. I have been getting the below given error while the creation, *"Cannot create the Directory d:\oracle\admin\ORACLE_SID\bdum

  • What are the ROLES & Responcibilites of a SAP Tester

    Hi, I would like to know the roles and responcibilites of a SAP tester what kind of things will do by Manual Testing as well as Automation Testing by using ECATT Thankyou

  • Where are my pictures in icloud

    I had to get a new iphone.  All backed up to Icloud...it's been 12 hours and only some of my pictures and videos have downloaded...i went on icloud and don't see my pictures at all.  what's happening?