Insert more then one record on a Form in a Data Block

Hi,
How can I Insert more then one record in the DataBlock of a Form in a WHEN_BUTTON_PRESSED trigger. In the Trigger I have given "commit" but it just saves the record once regardlessly how many times you press the button.
Thanks in advance
Khawar

Hi,
You said
"**In the Trigger I have given (commit) but it just saves the record once regardlessly how many times you press the button.**"
I think u want to batch mode insertion if m not wrong?
1- Use Insert statment instead of commit and then next record.
Begin
Insert into <table> values (:Blk.Val1,:Blk.Val2,:Blk.Val3,:Blk.Val4);
Create_record;
End;
2-Use another object say button for commit record.
Acknowledege me
Best regards
Khurram Siddiqui

Similar Messages

  • Insert more then one animation into dreamweaver

    how do I insert more then one adobe edge animation into dreamweaver via html code?

    Hi, bullydog2009-
    You should be able to insert multiple iframes into your HTML document.  Try this post for syntax:
    http://forums.adobe.com/message/4741310
    Hope that helps!
    -Elaine

  • Update more then one records in join

    How to update more then one records in join query.
    means each reocrds have different value.
    Thanks

    Can you give an example to illustrate your question?

  • How to retrieve more then one record from database

    I am doing a SELECT FROM WHERE SQL statement on a database which returns more then one record. I want to retrieve certain column values from the selected records. How do I do that? If only one record is returned, I know I can do a data operation with operation set to 'Get-Retrieve Values from Record' and Record to operate on set to 'Current-Use current record'. I need to find out how to configure to data operation window in the case more then one record is returned by the preceding SQL statement. Depending on the number of records returned, I can dynamically create array variables to store the 'to be retrieved' column values, just dont know how to retrieve them.
    Any help will be greatly appreciated.
    Thanks
    Anuj

    I apologize for not being clear in explaining my problem, perhaps I should have posted an example. Anyways, I was able to figure out the solution. I was doing an 'Open SQL' statement which was selecting multiple records (rows) from a table in the dB. I was storing the number of records returned in a local variable. Then, I wanted to retrieve certain columns of all the selected rows (records). In the "Data operation", I was choosing the 'Record to operate on' as 'Current-Use Current Record'. Changing this field to 'Next-Fetch next record' fixed the problem. I then retrieved the values of those columns into a dynamically created array variable whose dimensions came from the local variable which stored the number of records returned in the SELECT SQL statement. 
    Thanks
    Anuj

  • Is it possible to retrieve report for more then one record at Bi Pub

    is it possible to retrieve report for more then one record at a time using BI Publisher on siebel Application

    Hi Sudhir,
    We have tried this.
    I think currently you can query for records you want on UI and run report , then you can see the result set of query in report.
    But i think in future releases of BIP the feature to run a report for selected & Multiple Selected records will be provided.
    Thanks,
    Vamsi

  • How to show more than one record at a form-like style report?

    Hi All,
    I developed a form-like style report
    I want it to show more than one record at once (At the same page)
    I tried that by setting the value to "Maximum records per page" property for the repeating frame to 10
    but when I close the property palete and open it agian the value is returned to 1 !!!
    how to show more than one record at the same page?????
    Thank u

    Hi,
    there's perhaps another property like "page protect". If than 2 records didn't fit at one page there's a page break. Or is there any object inside the repeating frame with page-break properties? Sorry .. it's like looking into a chrystal ball ...
    Regards
    Rainer

  • How can i insert more than one record a time in a JSP page?

    Hi experts,
    I'm working with JDeveloper version 3.2 application server 9i.
    I want to insert more than 1 record using a jsp page and then perform a commit at the end.
    do you can help me with this problem/challenge?
    Thank you,
    Regards,
    Mario

    statement.executeBatch() maybe?

  • Fetching The more then One Company ID by using PLSQL Table on Block B1(FORM

    I have two blocks in Form (Forms 10g) .On the Block B2 I have populated the Company Id by using the PLSQL Table.Now I selected more than two company ID from that Block ...I just want to keep the Company ID in the Temp Field on the Block B1.which I have selected on the Block B2.Any idea how can I assign more then one Company ID to That Temp Field on B1.

    This doesn't appear to have any connection to JMS or indeed to Java. Wrong forum. Locking.

  • Insert more than one record in a transaction is costly or insert big record

    Hi,
    I am using Oracle 10g on linux 64 bit
    Could anybody tell me that currently my log tables in oracle has 22 columns out of 22, 20 belongs to rate from different lenders like
    uuid,app id,lender1,lender2,lender3 .............,lender20
    1,123,lender1_rate,lender2_rate,lender3_rate..............
    In order to make it more readable and in order to include new lender dynamically we are changing this table to row wise so that we do not need to include new lender column in table
    uuid,app,lender
    1,123,lender1_rate
    1,123,lender2_rate
    1,123,lender3_rate
    1,123,lender20_rate
    but it will create instead of one record, 20 records for each app in a transaction.
    Is it costly for insert. If it is then what should be the way.

    Hi,
    It could be slightly costly to insert.
    But it makes my design more flexible and my queries less costly and flexible.
    I would use something like this as my columns.
    uuid, app, lender_code, lender_rate
    Regards
    Anurag.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • OIM reconciliation fails when more then one record in trusted source table

    I've create a reconciliation connector against an oracle table with 2 colums:
    user_id
    email
    When I run the connector with only one record exists in the table everything works fine and the user is propogated to the OIM user store. If I add a second record and run the reconciliation again I get:
    ERROR,18 Jun 2010 10:15:58,715,[XELLERATE.JMS],The Reconciliation Event with key -1 does not exist
    ERROR,18 Jun 2010 10:15:58,716,[XELLERATE.JMS],Processing Reconciliation Message with ID -1 failed.
    I'm fairly certain this is something simple.
    Does anyone have any thoughts?

    How about performing the update IN the database using a stored
    procedure?
    By using non-database fields on your form to get the
    information, you can then call the procedure in the database to
    perform the updates. If an error occurs in the procedure you
    rollback, if necessary, and send a message or status back to the
    form. If it succeeds you might wish to commit and then re-
    execute the form's query -- using either the original key values
    or the new key values...
    null

  • How to Insert more than one record at a time- with fixed set of values in one field

    Can someone guide as to how to insert multiple records at a time using ASP VBScript in Dreamweaver CS4 or ADDT.
    If someone can guide then the exact problem is given below.
    I have a MS access database with one table. The table has three fields. The first field is an autonumber field for ID number.
    The second field contains string values- One out of 7 predefined values. One set of records consists of 7 records containing all the seven types of predefined values in fields no 1.
    The third field is a numeric field and can contain integers.
    I want that the user can enter data for the table using an ASP form in such a way that he enters one set of records at a time in one single screen. This way he will not have to remember that he has /has not entered all the seven set of values for the field no 1.
    I am not creating fields with the 7 types of field1value as their names as it will increase the number of fields drastically.
    Please help for dreamweaver ASP VBScript.

    I have successfully inserted seven records in one form submit operation by looping through the command object execute method.
    However, the data that is being inserted by the command object is repetition of the first record and the command object is not taking any data from the text boxes for the second record onwards. In this I had used the isert record behavious generated by DW CS4 and modified it to suit my requirement. However, the data inserted in the first row is getting repeated in all the seven rows.
    Please help.
    Also advise if there are any free dreamweaver server side validation extensions available.

  • How to Insert more than one record at a time

    How to insert multiple records at a time?
    If someone can advise on this, then the actual problem is described below:
    I have a MS access database with one table. The table has three fields. The
    first field is an autonumber field for ID number.
    The second field contains string values- One out of 7 predefined values. One
    set of records consists of 7 records containing all the seven types of
    predefined values in fields no 1.
    The third field is a numeric field and can contain integers.
    I want that the user can enter data for the table using an ASP form in such
    a way that he enters one set of records at a time in one single screen. This
    way he will not have to remember that he has /has not entered all the seven
    set of values for the field no 1.
    I am not creating fields with the 7 types of field1value as their names as
    it will increase the number of fields drastically.
    Please help with inserting multiple records at a time.

    I have successfully inserted seven records in one form submit operation by looping through the command object execute method.
    However, the data that is being inserted by the command object is repetition of the first record and the command object is not taking any data from the text boxes for the second record onwards. In this I had used the isert record behavious generated by DW CS4 and modified it to suit my requirement. However, the data inserted in the first row is getting repeated in all the seven rows.
    Please help.
    Also advise if there are any free dreamweaver server side validation extensions available.

  • Creating more than one record in a form page

    Hi All,
    I created a form page on a table, when I add data and press "Apply Change" the data saved but still exist in the form.
    How can I clear the form so I can add more data.
    Best Regards,
    Haytham Talha

    Hi Haytham,
    it seems you've hit the wrong forum, as this one is dedicated to the APEX Listener - a web server for APEX. You probably get a fast and helpful response if you post again in {forum:id=137}
    Thanks,
    -Udo

  • More then one digital signature on Form 16

    Hi,
    Our client want to use digital signature on the basis of Compnay code.
    Presently one signature we uplaoded and the same is used fro all compnay codes.
    We want to use signature on the basis of company code.
    How to do the same, please help me.
    We r on ECC 6.00 with SP level 42
    Regards
    Sanjay M.

    Shyam,
    I have a similar issues and looking for the <filename>.cer file to install the Trusted Anchor to validate digital signature in Adobe Interactive Forms.
    Did you resolve this issue?
    Can you please let me know where to get this file?
    Thanks
    Sundar

  • How do i insert one string to more then one textField?

    how do i insert one string to more then one textField?

    var myString = "My String";
    myTextField1.text = myString;
    myTextField2.text = myString;
    myTextField3.text = myString;
    myTextField4.text = myString;
    // etc...

Maybe you are looking for

  • RH8 fails to upgrade RH7 project to RH8; any kluge to get it done

    Adobe RH Customer Service confirmed to me that RH8 is unable to upgrade an RH7 project. Is there solution that will not kill me, like starting a new project and importing topics en masse? (I don't necessarily know that that would work, but are there

  • Dump is thrown for tcode ko88 in User Exit EXIT_SAPLKEDRCOPA_001 in ECC 6.0

    Thanks in advance. Its very urgent. In the User Exit EXIT_SAPLKEDRCOPA_001 an import variable I_COPA_ITEM is declared in the import parameter without any type def. So during run time the data object takes the structure of the exported variable. This

  • Retrospect Revisited - Prove me wrong...

    I have been working on a backup problem for over a month now. Here is the original post http://discussions.apple.com/thread.jspa?threadID=379695&tstart=0 Here are the basics. I have a G5XServe with a 250 gig bay. That bay has one partition, with 5 fo

  • Trojan reported in Bo Edge downloaded packages  --HELP--

    Hello, I don't know if the problem has to do with the Antivirus or with the downloaded FILES but here is it : I downloaded the trial packgages of BO EDGES 3 and just for testing purpose i ran the antivus on them then the trojan : TR / CRYPT.CFI.GEN w

  • Adding Local User Account Alongside RADIUS

    Greetings! Currently every Cisco device authenticates with a RADIUS server we have on campus. I'm trying to add a local user account onto our switches and routers so that if the RADIUS server is unavailable or the switch looses connection we are able