Remember htmldb_item.checkbox selection after submit

i have a report that includes a checkbox column. i wish to submit the page(and return to same page) and at the same time remember the selections made by the user. is this possible?

is it not possible to treat the htmldb_item like this
No. See Re: Problem: cannot reference value of APEX_APPLICATION.G_Fxx
The arrays created by calls to htmldb_item are only to capture user-input for subsequent accept processing. You use the values during accept processing and when the page is re-displayed, unless you have the values stored in the database/collection and refer to them using the appropriate parameters to the htmldb_item API, the form elements (checkbox) will be blank.

Similar Messages

  • How do i select the "submit" after i enter my wireless passwork on the tv screen for apple tv setup?

    how do i select the "submit" from the remote after i enter my wireless password on the tv screen for apple tv set up?

    The 5 digit code is every time different. That does not matter. Just integrate every device into your network.
    You can connect many computers to Apple TV but syncronisation works exactly with one computer. That's why I use "streaming". But you can sync one computer, then another, and so on. The content on your Apple TV is the content from your computer that has synced last. But you can not mix it.
    The new Apple TV has no syncronisation. Everything is streamed,
    Regards,
    Torsten,
    Germany

  • How to set cursor after submit via selection-screen

    hi guys,
    i would like to set cursor to certain field, after submit via selection-screen.
    eg.
    SUBMIT   z_mm_kbr_gr_label_01
                VIA SELECTION-SCREEN
                WITH p_mblnr = p_mblnr
                WITH p_zeile = p_zeile
                WITH p_gjahr = p_gjahr
                WITH p_ccode = p_ccode
                WITH p_dcode = p_dcode
                WITH p_crt = p_crt
                WITH p_print = p_print.
    i want to set cursor field 'p_ccode' after going back to
    z_mm_kbr_gr_label_01. the program always go to the first field on the screen whatever i do.
    may i know how to do this?
    thanks.

    Hi,
    Please try like below .
    at selection-screen output.
    SET CURSOR FIELD  'P_CCODE' .

  • Change Value of HTMLDB_ITEM using HTMLDB_ITEM.CHECKbox

    Hello,
    I've got a region with a 'pl/sql function returning sql query'
    declare
    q varchar2(4000);
    begin
    q:=' select htmldb_item.checkbox(1,t.jedi_ean_id) as Auswahl, ';
    q:=q||' t.ean, j.artikelbezeichnung, ';
    q:=q||' t.artikelmengeneinheit, ';
    q:=q||' htmldb_item.text(2,t.iln) as ILN, ';
    q:=q||' from malus.jedi_ean t; ';
    return q;
    end;
    My Query return for example 10 rows. Now I want to check 5 of this 10 rows using the checkbox.
    With the following PROCESS i am able to save the new values of the field ILN to the Database.
    for i in 1..HTMLDB_APPLICATION.G_F01.COUNT
    loop
    update jedi_ean j
    set j.iln = HTMLDB_APPLICATION.G_F02(i),
    where j.jedi_ean_id = HTMLDB_APPLICATION.G_F01(i);
    end loop;
    Now to my Problem:
    I want to have an input field outside of this report where the user can manually set the value of the field ILN.
    Afterwards the user checks 5 of the 10 rows and then he should have the possibility to click on a button
    to assign these values to the 5 checked rows in the report, not in the database.
    After this step the user should click on a submit button an start the existing process above.
    Is this possible??

    Hi,
    I do not know can you do that with dynamic action or is there of of box solution.
    But see this example
    https://apex.oracle.com/pls/apex/f?p=40323:30
    You can bind onchange event to text field, and call Ajax to get emp name.
    Then use sample JavaScript to set value to display only item
    Regards,
    Jari

  • How can I navigate to a new page when after-submit process running proc

    I have a long running procedure and would like to provide the users with an animated gif to indicate progress that updates a description line to indicate the current step in the process.
    Currently I have a couple pages in this application in which a stored procedure in a package is called which performs a long-running process which updates progress in a table. These processes have a single parameter argument. In these cases I call the procedure via the Job Scheduler as part of my After-Submit process and the page navigation jumps to another page which shows a graphical representation of % complete based on the progress updates in the table and refreshes itself every 5 seconds until the job is complete. This works fine.
    I am now running into an issue where I have a more complex set of processes, with a number of parameters. To resolve this I used the same process as above, however, I first check to see if the process exists in the Job Scheduler, if not I create it. I then set all of the parameters and tell the job scheduler to execute the procedure. This should work similar to the process I am running on the other pages, however, in this page where I have multiple parameters and send an execute command rather than an execute immediate on job creation, the system runs the entire job prior to running the page branch, as a result the end user is stuck on a hanging page with no user feedback for two minutes after pressing submit.
    I am looking for how to call the procedure and have the branch execute so a progress screen can be viewed. I am not committed to the use of the job scheduler if there is a better way.
    Any help is greatly appreciated.

    The process involves
    (1) a detail table filled with phone usage data, approximately 175,000 records per month.
    (2) a table that stores what various combinations of codes in the detail table translate to for types of calls or data transmissions
    (3) a summary table for the months calls and billing
    (4) the E-Business Suite.
    (5) A GTT for temporary crossreference storage
    (6) A GTT for reporting data
    I have a parameter page where the user selects what data they are looking for and then submits it to generate the report.
    The generation of data is a four step process.
    (A) Retrieve the Code Combination ID's for the phone usage specified in the parameters from the summary billing table(1) into a GTT(5)
    (B) Query the department and Account Code Block Details from E-Business Suite(3) (using dblink) for the CCID's in step one and add to the GTT(5)
    (C) Run a query which uses the detail table(1), a function against the crossref table(2), and the crossreference GTT(5) to create the output in the report GTT(6)
    (D) An ApEx page process that counts the output and returns to a page without Export to Excel for over 65000 records or with Export for under.
    The parameter page is an ApEx page with some text fields, a couple date fields, and some checkboxes. An after submit process calls a packaged procedure which calls separate procedures for (A), (B), and (C), the page then branches to a page that shows an animated gif and current step of the process {this is what is not working right now}. Once the task completes this page branches as per (D) to a page that shows all the contents of the GTT report(6).
    The process works successfully with the exception that instead of going to a page to show the process the system simply hangs on the parameter page after the submit is pressed until the processing is done and then goes to the processing page just long enough to branch to the report page.
    I am beginning to think that I should alter the design to not use the GTT, but include the username as a field in the output table with a binary index on it for speed so that I can use the job scheduler to run a separate session and hence enable the processing page. The processing page is important as the query can take anywhere from 2 minutes to 2 hours to generate the report depending upon the parameters.

  • A quick question about the htmldb_item.checkbox function

    I know many posts about checkbox have been posted, yet I couldn't find the answer after some searches.
    I have something like:
    select
    htmldb_item.checkbox(1, col_name)
    from...
    What I need is to have is the the heading of the checkbox column same as what the wizard does. I mean you can 'check all' with that. If I put a string after the right parentheses, I got that string rendered as the name of the checkbox column, which was not I want.
    I couldn't find the answer from the document, neither from the how-to.
    Thanks in advance.

    What I need is to have is the the heading of the
    checkbox column same as what the wizard does. I mean
    you can 'check all' with that. If I put a string
    after the right parentheses, I got that string
    rendered as the name of the checkbox column, which
    was not I want.
    I couldn't find the answer from the document, neither
    from the how-to.Do you want a checkbox as the header for the checkbox column? So you can check/uncheck all the checkboxes? If so, this is addressed directly in the how-to.
    If this is not what you want I don't understand exactly what it is that you're attempting. Perhaps some elucidation would be in order?
    Earl

  • How to populate/persist right-side of Shuttle in apex 3.1.2 after submit

    In the new Shuttle I can only specify one LOV (select empname, empid from emp where empid not in (1,3,4)) but I also want to populate the right-side of the shuttle to show values which the non-members (select empname, empid from emp where empid in (2,5)) so that the user can make selections which persist after submit.

    Rashid,
    The method that worked for me was to:
    1) Create the LOV to populate the Left side of the shuttle (unselected).
    2) Define the Source property to populate the Right side (selected). In my case, I used a PL/SQL Function Body type, but any would work.
    I set the Source Used to Always, so that my user always started with the same default selection, but if you set it to "Only set when session value is null", that should do what you're asking for.
    Good luck (and thanks for the points by marking my answer helpful or correct),
    Stew

  • Window.opener lost after submit on _self of a window

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    My problem is:
    1. main window (*1) opens a child window (*2) and save the reference to this new window in an array
    2. the child window (*2) shows a "wait please" image and open on _self the real requested page which can take some time to be created; the new page shows some search fields, the user types the filter and press button for submit; after submit the content of the child window (*2) is the result of a select on DB
    3. in the child window (*2) there is a button which opens another child window (*3)
    The problem is here: the child window (*2) search the main window (*1) using window.opener but its window.opener is itself.
    I need to save the references of all opened windows, so I can close them all when I close the main window (*1)
    For an example (more simple) click here:
    http://asp.rds-software.com/asptest/window.parent/mainwindow.html
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    == Plugins installed
    ==
    Adobe Acrobat 8.2.2.217
    Java(TM) 2 Platform Standard Edition 5.0 Update 6 5.0.60.5
    Microsoft DRM (Netscape Network Object) 9.0.0.4503
    Microsoft DRM (Netscape Plugin) 9.0.0.4503
    Mozilla Default Plug-in 1.0.0.15
    Shockwave Flash 9.0.124.0
    Windows Media Player Plug-in Dynamic Link Library 3.0.2.629
    Windows Presentation Foundation 3.5.30729.1

    Hi,
    try 10.1.3.3 - I tested it with this release and here it worked fine.
    Frank

  • Popup a window in the after-submit process

    I have created a java script function in html header of the page as following:
    <script language="JavaScript" type="text/javascript">
    function myPopup (p_search) {
    var val1 = document.getElementById(p_search).value;
    var url;
    url = 'f?p=&APP_ID.:3:&APP_SESSION.::::P3_ENAME:' + val1;
    w = open(url,"winLov","Scrollbars=0,resizable=0,width=700,height=400");
    if (w.opener == null)
    w.opener = self;
    w.focus();
    </script>
    I want to call this function in one after-submit process like this:
    begin
    select name into p_name
    from vehicle
    where id = 32;
    if SQL%ROWCOUNT = 1 then
    javascript:myPopup(p_name);
    end if;
    exception
    when others then
    null;
    end;
    When I apply the changes in the application builder, I got this error:
    1 error has occurred
    ORA-06550: line 7, column 16: PLS-00103: Encountered the symbol "" when expecting one of the following: := . ( @ % ; The symbol ":=" was substituted for "" to continue.
    How do I call the java script functions in the page process? What did I do wrong?
    Any help will be greatly appreciated.
    June

    O.K. I think I got it working now. See
    http://htmldb.oracle.com/pls/otn/f?p=31517:50
    There is an on submit process multiplying the number you enter by two and populating the target item. The process is running only if there is number entered. If you enter any other string a pop-up window will show you an error message. The approach is simple:
    1. create a process which does something on submit, if the supplied parameter is O.K. and nulls if not,
    2. created a branch to an empty page which fires on submit and it is conditional - using process exception(s),
    3. on the empty page there are two onload javascript calls:
    onload="javascript:popUp2('f?p=&APP_ID.:201:&SESSION.::&DEBUG.:::', 700, 700);javascript:redirect('f?p=&APP_ID.:50:&SESSION.::&DEBUG.::');"
    the first one is opening the required pop-up page and the next one is redirecting back to where we started.
    I don't know if there are any security issues with this approach. It is not so clean, since you need to create an additional empty page. However, it saves some coding of extra scripts.
    What you are saying I also had in mind.
    Denes Kubicek

  • HTMLDB_ITEM.CHECKBOX

    I used HTMLDB_ITEM.CHECKBOX(1,"field") in a tabular report, now I need to make a button, or something like that, to select all the row checkboxes, but I don't know how to work with it, I'd really appreciate if anyone could help me with this, giving me the link to any page about it or telling me the way to do it.
    Víctor Carmi Lara

    for i in 1..htmldb_application.g_f01.count() loop
      -- do some DML; values of checkboxes are referenced with htmldb_application.g_f01(i)
    end loop;Jure

  • After submit process vs. javascript

    I'd appreciate it if you all could help me with this problem. I've searched this forum and google for a resolution but have not found it yet. I'm a newbie with APEX so please bear with me. The issue is that I want a button - could be a delete or submit - to be disabled after it is clicked. Additionally I want a process (on submit after computations and validations) to execute when the button is clicked. The dilemma is that the javascript disable button function is called using a URL button (create a button in a region position). My guess is that the on submit process is not fired because the focus goes to the URL (disable button function). Is there any way to call a javascript from non-URL button (Create a button displayed among this region's items)? Or perhaps get the process to run with a URL button? So my issue is I need both the after submit process to run and the javascript to disable the button to run after the button is clicked. Suggestions appreciated.
    Kirk

    Like I indicated I'm a newbie to this web programming. And at this point I'm just learning APEX for possibilities here and because management wants a presentation on it at one of our upcoming meetings.
    After the branch to the URL - which my understanding would be to the same page - it would come up without a record until the user selects one from some mechanism like an LOV. And with no record displaying I'd want the Delete (and Update) button disabled until a record is selected. And now that I'm writing this it has me thinking I need to approach this from a different angle. I need the page to come up with the Delete and Update button already disabled and when a record is selected then (somehow) the buttons should be enabled. Do you think this a more viable approach?

  • YAB - FM11 Find/Change using Selection drops selection after first find

    Yet another bug in FM11?
    If you are using a selection to limit the scope of a find/change, FM11 now drops the selection after the first find.  Consequently, it can't find anything else that matches as there is no more selection and you have to re-select again. What a PITA!
    In FM10 and earlier, FM would remember the selection and just keep searching until it reached the end of the selection.
    Can anybody verify this user-hostile (what's a QC test script?) behaviour in the latest pached version of FM11?

    I just changed modes in FM11 from strructured to unstructured. The problem does NOT occur in unstructured FM!

  • Htmldb_item.checkbox : multiple attributes

    Hi,
    I was wondering if there is a way to specify multiple attributes for a checkbox using htmldb_item.checkbox
    I would like the checkbx to be checked and disabled.
    In the sttribute param. I can specify 'CHECKED" or 'DISABLED'. I would like to specify both
    any help

    Hi Tyler,
    Here is the example:
    Table 1.
    Issues Table:
    issue id, issue_Description
    Projects:
    project id, Description
    Project_issues:
    project id, issue id, issue encountered(Y/N)
    I want to display read only checkboxes.
    issues decription is stored in Issues Table, and values (Y/N) are stored in Project_issues
    So for a particular project I would like to see list of all issues(checkboxes)
    This is how it looks like
    For projectid: p1
    issues 1 (CB) (X)
    issue 2(CB)
    These are diisabled or read only.
    any idea how should i use check boxes in html db. I tried creating LOV
    select issue_description d, issue_id r
    from issuees;
    This lov display checkboxes. But How Can i get values of these checkboxes from table project _issues.
    thanks a lot for your help

  • HTMLDB_ITEM.CHECKBOX  p_checked_values Length 4000

    Hi,
    I am using the HTMLDB_ITEM.CHECKBOX and the values that are checked by default is dynamically generated. Once the length of p_checked values crosses 4000, I get the following error.
    ORA-01704: string literal too long
    Please suggest if there is a workaround for the same.
    Thanks,
    Rajesh.

    I am trying to generate a report. This is how the query is returned.
    q := ' select HTMLDB_ITEM.CHECKBOX(1,empid ,NULL,'
    || ''''
    || v_existing_selection
    || ''''
    || ','
    || ''':'''
    || ')'
    || '"Select",'
    || ' col2'
    || ' col3'
    || ' col4
    || 'from table 1,table2'
    The v-existing selection which indictes the boxed to be checked by default is formed dynamically. It has the list of all the Ids that satisfy a particular criterion.
    So, when the number of Ids are more, the v_existing_selection length increses adn at one point, it crosses 4000 and i get the error stated above.
    Please advice.

  • Checkboxes - htmldb_item.checkbox multi-record updatable report

    htmldb_item.checkbox can be used to display retrieved database values as a check box (e.g. a Y/N Flag).
    These can also be added to an updateable report in a multi-record tab.
    When a new record is created on the multi-row tab however there appears to be no way to render a checkbox. Instead a text box appears instead.
    Is there any way to acheive this?
    This data needs to be present in a multi -row layout
    Thanks
    BTW - I have checked the docos and read the forums.

    Firstly, thank you for the reply.
    I must clarify what I am doing.
    I have a table that has a column in it that is called ZEROFUEL. This can have a value of either Y or N. The user wants a block of these records (say eight) per screen. This column need to be represented by a checkbox. I manage this by calling the NVL(htmldb_item.checkbox(10,ID, DECODE (ZEROFUEL,'Y','CHECKED')),'N')ZEROFUEL, in the report select statement.
    The automatic checkbox (for deletion) is added by the wizard no problem. It is the checkbox for the column ZEROFUEL I am having the problem with.
    If I do not render the checkbox from the sql select then the wizard just creates a little text field display.
    Everything works fine until I press the ADD button. A new record pops up on the bottom of the block with no checkbox on the ZEROFUEL column.
    Eventually there are four columns I need to display as a checkbox. These all need to be displayed in the multi-record tab.
    Am I missing something.
    Thanks

Maybe you are looking for

  • Problem: Reversal (FB08) Needed for Clearing Account

    Dear Gurus, I have accidentally run the automatic clearing program (F110), which was not required, in the Production. 263 documents have been generated. How to reverse the Clearing account in this case as FB08 doesn't allow reversing the clearing acc

  • Conflicting use of F3 key in SQL worksheet

    The use of the F3 key in the SQL worksheet tab, where this key performs a Rollback, seems to conflict with the menu option Edit->Find Next. The first time you press the F3 key in the SQL worksheet a rollback is performed. Second and subsequent F3 key

  • Audio Waveform does not appear

    I'm having trouble with getting the audio waveform to show up in the project window.  I want to fade out music, but the option is not available because my audio clips do not have a waveform, only a solid green line (see pic below) --no matter what ty

  • Error 1603 installing microsoft sql native client

    error 1603 installing microsoft sql native client Sagar Chavan

  • IPhoto 09 not reading Nikon raw files (.nef) properly?

    Hey everyone. Over the weekend I upgraded from Leopard to Snow Leopard. Everything seemed to be working correctly until I started using iPhoto. Since the upgrade, I've noticed that photos that I imported from a Nikon D700 seem to look pixelated. I to