Is there a way to programmatically check the Row Selector for a row?

Greetings,
I have a report that has the Row Selector column. I am processing the rows that are checked by the user when they click a button, so I am already looping thru FOR ii IN 1 .. Apex_Application.g_f01.COUNT.
I need some of the rows to always be processed in the loop, so I would like to:
1. have certain rows checked automatically. Is that possible?
2. using the same logic that automatically checks certain rows I would also like to insure they stay checked, or are process in the loop. (You know, I may automatically check certain rows, but the user may uncheck them.) So, even if the user doesn't check them, I would like to programmatically check them before the FOR ii IN 1 .. Apex_Application.g_f01.COUNT looping occurs.
3. If it is possible to prevent the unchecking of a row that is automatically checked it would be awesome and would mean that requirement 2 is moot. If that's possible let me know. That would be sweet. :-)
I hope that makes sense, and that you understand what I need to do. If not, let me know.
Thanks in advance for your help, Tony

Hi Shunt,
That's a great help ! ! ! Thanks much ! ! ! :-)
I did some additional research from what you told me, and I found out that the apex_item.checkbox is a page item and it is included in the SQL that builds a report. Your code got me on the right track. That's great. Also, it's great to know I can do what I need. My next question is 'How do I get there from here?' :-)
I built my current report using the report builder, then used the trick to change it to a type of 'SQL Quey (updatable report)' just so I could click the setting to add the checkbox column, then I set the type back to 'SQL Query'. So, I don't have apex_item.checkbox in my SQL. I guess Apex (thru its magic) prepends it to the SQL somewhere along the way. What do I need to do now?
Do I need to rebuild the report without using the above 'trick' and code the checkbox into my SQL myself? Or, can I just add it to the existing SQL? Or, with that cause 2 checkboxs to be on the report (mine and the one Apex generates)? That's one set of questions. :-)
Also, whether the checkbox is checked (and disabled) is based on a value in the table the SQL is running over. Would it be possible to put a subselect, or something along those lines, in the main SQL (that has the checkbox item) that would programmatically check the checkbox?
Sorry for my newbie questions, but I'm relatively new to Apex and PL/SQL, so there's still a lot I have to learn. All you need to do is point me in the general direction and I'll take it from there. I just want to know the right way to go about this before I start coding. :-)
To give you and idea of what I'm doing now and want to do I have my simple SQL below:
= = =
select
ecn_approval_master_id, mandatory, approval_type,
htmldb_item.hidden(50,ecn_approval_master_id) idalias
from
ecn_approval_master
where ecn_plant_master_id = :P0_PLANT
order by mandatory DESC, approval_type
= = =
The 'mandatory' column contains 'Y' or 'N'. If it is 'Y' I want the checkbox to be checked and disabled. If it would help in the coding I could have the values of the mandatory column 'Y' and NULL. But, I'm not sure if it will help, because it looks like the checked rows are listed in parm 4. Then, when the htmldb_application.g.f10.count.... routine processes the selected they mandatory ones will automatically be processed. Course, you probably figured that out already.
Thanks, Tony

Similar Messages

  • Is there any way to not use the plugin container for firefox?

    Is there any way to not use the plugin container for firefox? Ever since I updated, my firefox browser has been crashing almost every day and it always says that the plugin container crashed, but the rest of firefox freezes up as well, so I am forced to end the process itself.

    See http://kb.mozillazine.org/Plugin-container_and_out-of-process_plugins
    You can set the prefs dom.ipc.plugins.enabled.* to false on the about:config page to disable the plugin-container process.
    dom.ipc.plugins.enabled (currently false by default in Firefox 3.6.6)
    dom.ipc.plugins.enabled.npswf32.dll (Flash)
    dom.ipc.plugins.enabled.npctrl.dll (Silverlight)
    dom.ipc.plugins.enabled.npqtplugin.dll (QuickTime)

  • Is there a way to programmatically assign the "Submitted By" id number to a WebApp Item?

    I have two web apps that I want to link to one another.  Can I programmatically assign the submitted_by value to it.  Is this possible?

    Hi there, no,
    You can only tie in web apps using the data source ID at the moment.

  • Is there a way I can view the classic reader for the whole of Thunderbird without me having to change it for every single mail, 'cos the other view is confusing

    All views other than the classic view are unnecessarily complicated, confusing and - to me - irritating. The view of each individual mail can of course be changed which is tiresome. Is there a way to have Thunderbird - who is otherwise a very good mailing software - in classic view for all my e-mails. By way of one general button that allows classic view throughout.
    Thank you very much.
    Jacquot Verborgh

    eer... did you install the conversations add-on by any chance? Thunderbird has not changed the way it views mails ever I don't think, so I am looking for another cause in your case.

  • Is there any way to find out the dependency information for column of view?

    Does Oracle provide some view / table / pl/sql pkgs to find out the dependency information for column of view ?
    For example, there are two table mytable1 (col1 varchar2(10), col2 date) & mytable2 (col1 varchar2(10), qty int), and there is one view myView as
    select mytable1.col1, col2, qty from mytable1 inner join mytable2 on mytable1.col1 = mytable2.col
    Can I get some information such as myView.col1 is come from mytable1.col, myView.col2 is come from mytable1.col2, myView.qty is come from mytable2.qty
    ?

    I can get the information about the columns list in table/view from ALL_TAB_COLUMNS table, but I wish to know the column in the view is come from which original table's column.
    Is there any way to find it out from Oracle meta data / through any PL/SQL packages ?

  • Is there a way to permanantly disable the F7 shortcut for cadet browsing?

    I'd like to use the F7 button as a hotkey to play/pause my media player, however whenever I press it I get prompted about "cadet browsing". Checking the "Do not show me this dialogue box again" has no effect, it will continue to pop up.

    In Firefox 3.6 and later versions you can disable the F7 shortcut that toggles caret browsing by setting the pref accessibility.browsewithcaret_shortcut.enabled to false on the about:config page if you do not want to use this feature.
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />

  • Is there a way to find out the localized labels for contact item properties?

    Hi,
    an Outlook ContactItem has a lot of properties (e.g. BusinessTelephoneNumber). I want to design a custom ribbon menu containing all business telephone numbers. And the labels of these menu items should display the localized field description (e.g. "Business
    Telephone Number"). But I did not found any mapping of Contactitem property name and label being shown in die Outlook's user interface. Sure, I can code my own mapping but I would like to know whether there is a possibility to get a localized string for
    labeling my own menu items.
    Anything like ContactItem.ItemProperty(INDEX).GetLocalizedLabel() would be fine.
    Any ideas?
    Kind regards
    Mõbius

    You can also create collection for reboot pending machines based on its lastenforcementmessageID.
    SELECT SMS_R_SYSTEM.ResourceID, SMS_R_SYSTEM.ResourceType, SMS_R_SYSTEM.Name,
    SMS_R_SYSTEM.SMSUniqueIdentifier, SMS_R_SYSTEM.ResourceDomainORWorkgroup,
    SMS_R_SYSTEM.Client FROM sms_r_system inner join SMS_UpdateComplianceStatus
    ON SMS_UpdateComplianceStatus.machineid=sms_r_system.resourceid
    WHERE SMS_UpdateComplianceStatus.LastEnforcementMessageID = 9
    Eswar Koneti | Configmgr blog:
    www.eskonr.com | Linkedin: Eswar Koneti
    | Twitter: Eskonr

  • Is there a way to programmatically change the scroll bar position?

    I am wanting to programmatically shift my front panel horizontally at a certain point during execution. I need a way of moving the scroll bar automatically. Does anyone have any suggestions?
    Thanks!

    Use the VI property FP.Origin to scroll the panel in the window.
    LabVIEW, C'est LabVIEW

  • Is there any way to programmatically get the discussion forum Id using API

    Hi,
    Can any one let me know how to get and set the Discussion service forum Id / category Id to the discussion task flow programmatically using services API's. Here I am using Web center groupspace API's to create and add members to group space from my fusion app. Added the discussion task flow to my fusion app and need to set the category Id / forum Id assigned to that groupspace and display the corresponding discussions. The test connections to discussion forum is success. I am getting all the forums corresponding to that user in my ui. But I want to get the forum that is associated with my groupspace.
    thanks.

    Never mind. Got the solution, can get this through servicesMetaData api.

  • Is there a way to password protect the delete function for pics/videos??

    My 2yr old toddler is randomly deleting my pics and videos on my iphone. Yes he knows how to navigate to the pics and videos on his own. I think its that shiny red delete button that catches his eye when he's bopping around form screen to screen.  I just want to disable the delete function function so that he doesnt do that anymore. I know there is the backup but that relies on me knowing when and what he deletes as I dont back up all the time.I heard Android has this feature but wasnt sure if the iPhone did. Any help would be appreciated.

    The real way to fix this problem is to obvioulsy not allow a 2 yr old to play with your $600 phone.
    Get that kid an iPod touch to play with ! 

  • Programmatically check the existence of objects in the system

    Hi,
    Is there a way to programmatically check the existence of objects? The idea is I'll accept a list of names of objects and their object types and then programmatically check their existence in the system?
    Can you point me to a resource on how to do it?
    Thanks in advance.
    --Carl

    Hi.
    All custom objects (z, y) being referred to a program. May it be z or y table, data element, domain, sapscript form, function module/group.
    The goal is actually to be able to transport a program from a source machine to a target machine. The objects being referred to from the program must also be transported, of course, for it to run properly. Thus, the need to check the objects' existence.
    Thanks.
    --Carl

  • Programmatically checking the security in content repository

    Hi all,
    Is there any way to programmatically check whether a user has access to the documents under a particular node in content repository(in my case I have to use deligated administration role to check for the role in my code)? I am using BEA content repository.
    any help appreciated.
    thanks
    Ravindra

    Hello,
    I suppose you could meta-tag the content node with a property that specifies the user groups allowed access to the content. And then you could construct a rule which checks (programmatically, using the rule related EJB's) if the user has access rights. This is probably one technique.
    cheers,
    Deepak

  • Is there a way to speed up the response time from the dock

    Is there a way to speed up the response time for external hard drives from the dock? I have three external HDs but when I click on the alias in the dock there is always hesitation before it opens. I'm leaning towards the fact that it is just a result of the fact that the speed of the Mac is what it is. But, maybe there is something I can do to speed it up. The drives are plugged via usb directly to the Mac and they have there own power source. The curious thing is that they once were plugged into a large separately powered USB hub and I don't recall a lag like I have now. Any thoughts? Thanks...
    Message was edited by: gfann18

    Have you got the drives set up to spin down when not in use?
    Have a look at the Energy Saver settings in System Preference on the Mac.
    Make sure the "Put the Hard Discs to sleep when possible" box is not ticked.

  • TS4083 My folders that message rules divert emails to don't update when I open Mail on my iPad or iPhone. Only the inbox does. I have to click on each folder for it to update. Is there a way around this? The folders update on my mac fine when i check mail

    My folders that my message rules on iCloud divert emails to don't update when I open Mail on my iPad or iPhone. Only the inbox does. I have to click on each folder individually for it to update. A real pain as I have about 30 folders. Is there a way around this ? The folders update on my mac fine when i check mail without having to select each one of them. Can the iPad and iPhone do the same thing?

    My Mac has 4 mail accounts coming into it, but you are correct, one of them is a POP account, (and unfortunately it is the main @ account, and is the one associated with my apple id, since we've had it for years).  I couldn't figure out how to replace this with the Imap version, short of deleting that account entirely. 
    Is this what I have to do? 
    Thanks for your help!

  • Is there a way to turn off the iPad spell check feature when writing emails?

    Is there a way to turn off the iPad spell check feature when writing emails?

    Yes - but you will turn it off everywhere. Settings>General>Keyboard>Check Spelling>Off.

Maybe you are looking for

  • Sync multiple (but not all) photo folders?

    I've got a new 4G Touch and I am trying to figure out how to sync multiple folders containing pics to the iPod, preserving the folder structure on the PC to the Album structure on the iPod. My device allows the following: 1) Sync all photos from Phot

  • Java Proxy Generation not working - Support for Parallel Processing

    Hi Everyone, As per SAP Note 1230721 - Java Proxy Generation - Support for Parallel Processing, when we generate a java proxy from an interface we are supposed to get 2 archives (one for serial processing and another suffixed with "PARALLEL" for para

  • Top 10 Material Report

    Hi Guys, I have one reporting scenario that is top 10 Materials based on Po Gross value with standard price. PO Gross value coming from Purchasing cube and standard price coming from Inventory cube. I have created Multiprovider with both cubes and cr

  • Ai acquire waveform.v​i

    Hi,  Recently I receive a code from my senior to read data from DAQ bnc-2090. I have installed DAQmx 9.3 but I cannot run the code due to "cannot load ai acquire waveform.vi." I have find the answers that an old version of DAQ driver is needed. Howev

  • Is there software that will let me download photos from a Sony Jalou F100i mobile phone?

    Is there software available that will let me download photos from a Sony Jaou F100i mobile phone?  I have a USB cable.