Tabular Form - submit custom data and insert/update records

I have a tabular form with 2 columns representing table data and 5 more custom columns.
Task ID
Task Name
10/7/2013 to 10/13/2013
10/14/2013 to 10/20/2013
10/21/2013 to 10/27/2013
10/28/2013 to 11/3/2013
11/4/2013 to 11/10/2013
1
TASK1
2
TASK2
3
TASK3
I use an sql which returns null values for columns 3 to 7. Then I use the html formatting option of apex and jquery to add change the headers to weeks and add checkboxes.
My sql: select task_id, task_name, null week1, null week2, null week3, null week4, null week5 from <table name>
My table has the columns task id, task name , start_date and end_date.
When the user clicks the submit button, i need to send the checkbox data to my stored procedure and insert records into the corresponding table. I am unable to find out how to send a mapping of the task_id, date headers in each column and the checkbox data to apex back end and process them. For example, if the first check box in first row is checked, i should insert a row with values "1, TASK1, 10/7/2013, 10/13/2013". I also have to read the data from the table and display it in the same format. Please let me know how to accomplish this in apex.

instead of using null, you can use apex_item api to create check boxes
read http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35127/apex_item.htm#CHDDCHAF
you can set the value of check boxes using apex_item api and then the value can be captured in your process
check this: Martin Giffy D'Souza on Oracle APEX: APEX Report with checkboxes (advanced).
let me know if this answers your query in the current thread
Regards,
Vishal
Oracle APEX 4.2 Reporting | Packt Publishing
Vishal's blog

Similar Messages

  • Add Row on Tabular Form - column from read only to update/insert allowed

    APEX 4.2.2
    Newbie in the APEX forums, go easy please.
    I'm building a rather simple tabular form based on a table with a primary key (emp_number). Sounds like an Oracle tutorial but trust me, it's a real table. This table has, for this example's sake the following attributes:
    Table Name: EMP_EXCEPTIONS
    EMP_NUMBER      NUMBER (PK)
    UPDATE_EXEMPT VARCHAR2(1)
    I've used the Tabular Form wizard to create a nice looking tabular form page, all good and works as intended. Of course the primary key value is non update able by the wizard and that's by design - I've no need to update any primary keys. When I click the add rows button however, I'd like to be able to include the emp_number field as a input able field. At the moment, when I click the add rows button it inherits the property of the emp_number as read only. The user entering the new row would know the employee number and whether they were update_exempt or not. So rewinding my head in Oracle Forms, this would have been done by setting the row attribute as update allowed when the button is clicked. Is there such simple functionality in APEX and if so can you point me in the right direction?

    It seems to be true:
    - if there is ascending order on columns which fields are null in new line (have no default value), new row is visible in current "pagination" page
    - but if there is DEScending order OR ANY sort order is set on columns which fields are NOT null in new line (have default value), new row is NOT visible in current "pagination" page
    thank you!

  • MULTI ITEM ENTRY AT A TIME IN TABULAR FORM SUBMIT ONE TIME

    MULTI ITEM ENTRY AT A TIME IN TABULAR FORM SUBMIT ONE TIME

    No, it wasn't addressed to you but rather the OP - sorry for the confusion.
    I try where possible to point out that without asking a sensible and clear question, posters are unlikely to get sensible and clear answers. A lot of time is wasted on this forum trying to get people to ask questions properly.
    Cheers
    Ben

  • How to update and insert the records without using Table_comparison and Map_operation?

    How to update and insert the records without using Table_comparison and Map_operation?

    Use either join or MERGE see this Inserting, Updating, and Deleting Data by Using MERGE

  • SQL SERVER BULK FETCH AND INSERT/UPDATE?

    Hi All,
           I am currently working with C and SQL Server 2012. My requirement is to Bulk fetch the records and Insert/Update the same in the other table with some  business logic?
           How do i do this?
           Thanks in Advance.
    Regards
    Yogesh.B

    > is there a possibility that I can do a bulk fetch and place it in an array, even inside a stored procedure ?
    You can use Temporary tables or Table variables and have them indexes as well
    >After I have processed my records, tell me a way that I will NOT go, RECORD by RECORD basis, even inside a stored procedure ?
    As i said earlier, you can perform UPDATE these temporary tables or table variables and finally INSERT/ UPDATE your base table
    >Arrays are used just to minimize the traffic between the server and the program area. They are used for efficient processing.
    In your case you will first have to populate the array (Using some of your queries from the server) which means you will first load the arrary, do some updates, and then send them back to server therefore
    network engagement
    So I just gave you some thoughts I feel could be useful for your implementation, like we say, there are many ways so pick the one that works good for you in the long run with good scalability
    Good Luck! Please Mark This As Answer if it solved your issue. Please Vote This As Helpful if it helps to solve your issue

  • XML PARASE and insert /update in corresponding tables

    Hi,
    I have a XML in which master details tables 3 tables.I want to separate element and insert/update in corresponding tables dynamically.
    Table invlovled in A,B,C
    Thanks
    Reena

    Reena
    The easiest way to do this is along the following lines..
    (1) register an XML Schema that describes the XML you wish to process with theh database.
    (2). create a relational view for the top level elements and for each repeating element (element where maxOccurs > 1 in the XML Schema)
    (3) Use 'insert as select' or other SQL type processing to update your relational tables from the contents of the view
    It is normally recommended that you add the following annotations to the XML Schema before registering it with the database
    (1) At the schema level set xdb:storeVarrayAsTable="true".
    (2) At the complexType level set xdb:maintainDOM="fasle".
    If you search the forum you will find a lot of examples of creating relational views of XML content stored in the XML database. Typically these examples will include key words like 'create or replace view' and 'table(xmlsequence(extract' or 'xmltable'.
    Hope this helps...
    -Mark

  • Has anyone else gotten an email supposedly from Apple saying you had missing data and to update? I went to update, gave some info only to see they wanted my credit card info and money. How do I report this and to whom. Impossible to contact Apple.

    Has anyone gotten an email saying your system was missing data and to update? I went to update, gave my email and password just to find it wasn't really Apple
    but, wanted my credit card and money. Did not follow up. Where and how do I report this to Apple. Seems impossible to contact them.

    Forward it to [email protected] and then delete it.
    (112838)

  • Unable to install Adobe Photoshop Elements 13, from disc. The disc is rejected in DVD RW drive, no dialogue box comes up. The  DVD driver is up to date and have updated flash player.

    Unable to install Adobe Photoshop Elements 13, from disc. The disc is rejected in DVD RW drive, no dialogue box comes up. The DVD driver is up to date and have updated flash player.

    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • HT1263 where can I find the System Mac 9 that would be in the (original release) factory shipped iMac's prior to 2010? I'm missing key system data and cannot update to iPhoto app past 6.0.6; any advice will be helpful, thank you.

    Where can I find the System Mac 9 that would be in the (original release) factory shipped iMac's prior to 2010? I'm missing key system data and cannot update to iPhoto app past 6.0.6; any advice will be helpful, thank you.

    Where can I find the System Mac 9 that would be in the (original release) factory shipped iMac's prior to 2010?
    What are you refering to here? Mac OS 9 came out around 2001 ( or about ).  Mac OS 9 last run  in an emulation mode in 10.4.11 -- Tiger.  Mac OS 9 ran on PPC machines that were last produced before 2004 or so.
    I think your conclusion you need Mac OS 9 is incorrect.
    I'm missing key system data and cannot update to iPhoto app past 6.0.6; any advice will be helpful, thank you.
    iPhoto '11, Mac OS X (10.6.8), need to upgrade system to 10.8
    We need to verify some information.  Are you really running 10.6.8?  What hardware?
    Here is how to find out what version of Mac OS you are running:
    Click on the blue apple in the upper left hand of the screen.
    click on this icon
    Click on the first line, "About This Mac"
    Most of these are numbers & that's what we want.
    What version & Processor do you have?

  • Insert/Update Record - Server Behavior

    Help Please!
    I have several pages with forms that insert records, but I
    over the weekend when I went to open them from the web to
    insert/update records errors appeared. They were working fine
    before. Using PHP, MYSQL and Dreamweaver CS3
    I have tried everything I know to do. I have recreated the
    page, same problem as well as delete behaviors and reapply them.
    Once the server behavior is added it no longer says Insert
    Record in the Application window instead it says "Dynamic
    Attribute" Further, when I click it to make any changes etc,
    instead of the screen for Insert or Update record coming up it is a
    "Dynamic Text box" regarding POST or GET or URL stuff.
    Edited to add: And once posted, the page only shows an error
    and references this line
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    Error Message
    Parse error: syntax error, unexpected '<' on line 40
    What can I do?

    You don't say which server-side language you're using, but the way that I would troubleshoot this in PHP is to use echo to display the value of $_SESSION['MM_Username'] at the bottom of the admin page. This is the session variable Dreamweaver uses to control access to a page with username and password. If the value is displayed, it means sessions are working, and the variable hasn't been destroyed.
    If that works, move onto the next page, and use echo to display the value of $_SESSION['MM_Username'] as soon as the session has been started. To prevent being redirected to the fail page, temporarily comment out the following line:
    header("Location: ". $MM_restrictGoTo);
    Basically, you need to check what's happening to the session variable that controls access to the pages.

  • Unable to Determine the Change Date and Time for records in infotype 2011

    Hi Everyone,
    We need to know on when the clock-in and clock-out records were interfaced to SAP in infotype 2011.
    The change date/time field in infotype 2011 is blank/not populated. Hence, we're unable to determine on when the clock-in records were updated in infotype 2011.
    It is not possible to get the audit logs for infotype 2011 as it is switched off.
    We found this table TEVEN and just the same thing, the field "change on" is blank.
    Kindly help us on how we can determine the change date and time for records in infotype 2011.

    Hi Prasad,
    Here's the scenario.
    On June 3, it was reported that staff's clock-in record on june 1, 7:00AM is missing in infotype 2011.
    However, when I checked infotype 2011, the record is there.
    So, they are now asking me on when this record was updated in infotype 2011 as they are thinking that there might be some delays in sending of the data to SAP.
    The created on and created at in table TEVEN shows the same, june 1, 7:00AM which seems to be not true as on june 3, it was reported to be missing.
    Can you help further on this?

  • Receiver JDBC: Error while doing the Deleting and Inserting new records

    Hi All,
              I am doing Idoc to JDBC scenario. In this I am collecting & bundling different type of Idocs and then sending to the JDBC receiver. My requirement is to delete the existing records in the database and insert the new records. I have configures as mentioned in the link
    Re: Combining DELETE and INSERT statements in JDBC receiver
    In the above link its shows for single mapping. In my scenario I am using multi mapping for collecting idocs in BPM. If I configured for normal mapping then it is working fine(Deleting existing records and Inserting new record). Whenever I am using multi mapping then I am getting following error in the receiver JDBC communication channel u201CError while parsing or executing XML-SQL document: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)u201D . Can you please tell me what might be the problem.
    Thanks & Regards,
    T.Purushotham

    Hi !
    check this out:
    JDBC - No 'action' attribute found in XML document - error
    JDBC receiver adapter: No 'action' attribute found in XML document
    It appears that the inbound payload (the one that is going from XI to the JDBC adapter) does not have the requiered tag to specify which SQL action to execute in the receiver system. Maybe the multimapping is not creating the desired output message format.
    Regards,
    Matias.

  • Passing form data from Insert/Update pages...

    I need to take the data the user types into the fields and
    display it on the following page after the record is
    inserted/updated. (Please don't send me to the documention on the
    web site...it is outdated and does not work with later versions of
    Dreamweaver)
    Here is a sample of the code:
    $insertSQL = sprintf("INSERT INTO foil (firstname, lastname,
    businessname, street, city, `state`, zip, phone, email,
    Delivered_List, Inspect_by, record_description) VALUES (%s, %s, %s,
    %s, %s, %s, %s, %s, %s, %s, %s, %s)",
    GetSQLValueString($_POST['FirstName'], "text"),
    GetSQLValueString($_POST['LastName'], "text"),
    GetSQLValueString($_POST['BusinessName'], "text"),
    GetSQLValueString($_POST['Street'], "text"),
    GetSQLValueString($_POST['City'], "text"),
    Where do I insert the session code? Is there an extention for
    this?
    Thanks for any help.

    Do you want to display the value of a form field on the
    result page:
    <?php echo $_POST['FirstName']; ?>
    OR do you want to make a session variable from the value of
    the form input;
    goto Bindings Panel > click + > click Session Variable,
    enter name for variable in dialog box, then move cursor to after
    the insert sql and before the redirect code and from the bindings
    panel select your session variable and click Bind. Then copy the
    value you want to become the session var. like this
    $_SESSION['USER_FNAME'] = $_POST['FirstName'];

  • Customized R12 Standard Purchase Order report with custom data and layout

    Hi all,
    We need to customize the seeded Purchase Order report in R12 to add an additional section to include cost data coming from our custom table. The key is that our customized report should be launched instead of the seeded report via various PO forms (e.g. View Document menu option, PO Communications form to email, fax and print PO, etc).
    I manually set up a custom Document Type Layout for the Document "Standard Purchase Order" to use my customized template so my custom layout is shown instead of the R12 layout, but according to Oracle support the report can only draw data from a set of seeded Oracle views like po_headers_xml,po_lines_xml etc.
    Any suggestions how we can add our custom data to PO report in R12?
    Thanks! Mike.

    Hi Mike
    thats a tough one, the PO generation is a bit restrictive to say the least when it comes to customizing. It sounds like you have worked out how to get your own template in there to render the PO.
    On the data front, all I can think of is to customize and replace the seeded PO view with one that incorporates your extra data.
    Or, get into the page customization world and write your own extract and format concurrent program/procedure and then hook it onto the buttons where you want to launch it.
    You might have more luch, response wise from the EBS PO forum.
    Procurement : Procurement
    OAF: OA Framework
    Regards
    Tim

  • Tooltip popup on a tabular form to display data

    on a tabular form I have a comments field that can become much larger than the size of the filed on the screen and the user doesn't want to scroll..
    I want to do a javascript onHover to display the full amount of data in a popup tooltip bubble.. similar to some of these:
    http://speckyboy.com/2009/09/16/25-useful-jquery-tooltip-plugins-and-tutorials/
    but all of these examples are displaying the information from the TITLE of the field..
    how to I display the data based on the field being hovered over on the tabular form..
    Thanks

    Hi,
    if your apex version is >4.0 then you have a plug inn to cater your needs,
    http://www.apex-plugin.com/oracle-apex-plugins/item-plugin/tooltip62.html_
    or
    http://www.apex-plugin.com/oracle-apex-plugins/item-plugin/hoover-plug-in26.html_
    Regards,
    Little Foot

Maybe you are looking for

  • How can I register my daughter's Macbook under my name?

    We have three machines, a 21 inch IMAC, a 27 inch IMAC and a Macbook Pro. The two IMACS are registered under my Apple ID, along with two ipods. The Macbook Pro is not showing up. We can't remember if we registered at setup. 1. How can you tell if a m

  • I am not resetting firefox just to fix orange button. Menu bar disabled still no orange button. Have had this problem since upgrading to 20.0

    Firefox orange button has been missing I upgraded to 20.0. I have since installed the next update as well, still no fix on orange button. Research suggested disabling menu toolbar (which is not a solution for me) I tried this, still no orange button.

  • How do I get a previous version 3.6.8

    I currently have Firefox 4. - my backup is from version 3.6.8 and Mozbackup isn't restoring the back up. Where can I get a safe version of 3.6.8 to install? I'll restore and then upgrade again to 4. Thank you.

  • How to schedule with absolute time

    Hello, How can you schedule a task to execute at 4:35 p.m (according with the system's clock) every day. There are two classes that permit to schedule periodic tasks specifying the initial time and the period or delay for subsequent executions. These

  • E5 and Configuration tool

    Hi, Does anyone have information on E5 and Nokia Configuration tool. It's not on the list of supported devices. This seems a bit odd, because it is an E-series machine. Any news on this would be appreciated thanks