How can insert quary in database by using the collection.

Hi friends,


My friend advice me to insert several point with collection for the use of multiple lines. But I don't know how to use the collection. How do I create the form to insert data using the collection.
Please send me any link or example .au insert data into database by using the collection.



My problem is:-

I have a bill with several point for example. Grapes (25) with amount here and now I want to add these question with quantity in my database, Badam (145), banana (49), Apple (12)
When I finally click on submit button.

Actully I was used as a table but I am facing a problem when using tabular, tabular, I enter first item for example. Apple and there quantity for example. 12 in the textfield and after clicking on Add line enter Buttom went to the database. but I want that entry should not go the database. But only the new line should add when I click on the button Add a line.

I want all these point 4 should enter into the database when I click on Submit Final.


Maury

Published by: Ed on September 6, 2009 02:22

Hello

I would do something like the code:

BEGIN
 DECLARE
  vDATE DATE;
 BEGIN
  vDATE := TO_DATE(:P1_DATE1,'DD.MM.YYYY');
  WHILE vDATE <= TO_DATE(:P1_DATE2,'DD.MM.YYYY')
  LOOP
    INSERT INTO ABC (DTE, LEAVE)
    VALUES (vDATE, :P1_C);
    vDATE := vDATE + 1;
  END LOOP;
 END;
END;

You must ensure that the datepicker points both use the ' JJ. MM YYYY ' date format.

Andy

Tags: Database

Similar Questions

  • How can I register my product without using the online process?

    How can I register my product without using the online process?

    He scored finally got.

  • How can I uninstall Windows 7 to use the license on a new construction

    Hello

    I am running a copy retail of Windows 7 Ultimate on a desktop PC I built myself.

    I'm about to replace many items, for all intensive purposes, construction of a new computer. I want to continue to use my Windows 7 license on the new system, but some of the forum posts I've seen suggests that I would need to remove Windows 7 from my current set in place before reinstalling so as not to invalidate the license agreement.

    My question is that Windows 7 has been a new installation on my current PC, there is no previous operating system to come back. How can I do to remove or disable at least Windows 7 so that I can use it on my new build?

    To make things more complicated, I have recently booked 10 Windows download through the app and would this be installed on my new PC, once it is available. How can I transfer Windows 7 and make sure my Windows reserved 10 downloads for the new generation?

    Please note, in order to transfer the Windows 7 Ultimate license, but a full commercial license. Also, since you will sit there, free upgrade offer for Windows 10 will not be valid for this computer. As long as you remove the Windows 7 and transfer then reselect, the new machine will be automatically eligible for the free upgrade.

    Remove the current installation.

    Click Start, type: CMD
    Right-click on CMD
    Click on run as administrator
    At the command prompt, type: slmgr.vbs - upk

    Press enter, this will uninstall the product key of the computer and to the evaluation mode, you are now free to use it on another computer. If you experience problems, try to activate by phone:
    Activate Windows 7 manually:
    1. click on start and in the search for box type: slui.exe 4

    2. press enter on your keyboard

    3. Select your country.
    4. Select the telephone activation option and brace yourself for a real person.

    The mode currently of the installation process, you will need to be activated or it will go into reduced functional mode. You have the option to install another version or edition of Windows or get a product key for it. Alternatively, you can put the system as follows:

    To format drive:

    1. Insert the DVD of Windows 7
    2. restart your computer
    3. When asked if you want to boot from your DVD player, do it.
    4. Select your language, click Next.
    5. click on "repair your computer".
    6. Select the operating system you want to repair.

    7. click on the command line

    8. at the command prompt, type: FORMAT C: /.

    Press enter on your keyboard

    Type y for Yes

    Press enter

    Please wait while the drive is formatted.

    Type exit to close the command prompt, and then click farm to shut down the computer.

    If the application of reservation (10 Windows app) has a blank screen or doesn't work or is not available:

    Please be aware, even if you do not get the Windows 10 app, you can always download Windows 10 as one. ISO file, create a bootable copy and update your system.

    How to: upgrade previous versions of Windows using the file ISO for Windows 10

    Backing up your computer:
    When you make significant changes to your computer for example updated operating system, you must always back up. See the links to resources on the backup by clicking the link for each version of Windows you are using: Windows XP, Windows Vista, Windows 7, Windows 8/8.1

    Also check:

    How to back up and restore your files manually

    How to: build 10 tips before installing the latest version of Windows 10

    How to: 10 things to do if the Windows 10 install fails.

    Once you have installed these important updates and followed the required steps, you should be ready to receive your free Windows 10 update this summer.

  • How can I allow all sites to use THE SESSION cookies?

    How can I allow all sites to use cookies for THE SESSION?

    Yes, Firefox keeps cookies allowed unless you use to remove the navigation, search and download history on Firefox to delete cookies.
    You can easily check that yourself.

  • How can I recover my database after losing the file system data.

    Hello world

    How can I recover my database in the following scenario.

    1 offline full backup made 2 days ago. database was offline archive.
    2. today, I lost my file system data and also lost my all archived files.
    3. I started the database, but the following error is generated.

    SQL > startup
    ORACLE instance started.

    Total System Global Area 135338868 bytes
    Bytes of size 453492 fixed
    109051904 variable size bytes
    Buffers 25165824 database bytes
    Redo buffers 667648 bytes
    Mounted database.
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: ' D:\ORACLE\ORADATA\ORCL\SYSTEM01. DBF'

    4. I copied the data backup system file and wrote the following statement, to recover the database.

    SQL > recover datafile 1;
    ORA-00279: change 2234434 September at 2009-07-15 10:52:10 needed to screw 1
    ORA-00289: suggestion: C:\B\ARC00051.001
    ORA-00280: change 2234434 thread 1 is in sequence #51


    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}


    now, I have no file to archive. are there opportunities to recover the database?


    R e g a r d s,

    Asif Iqbal
    Software engineer,
    Lucky Tex, Karachi,
    In Pakistan.

    are there opportunities to recover the database?

    Yes

    Restore a full backup taken 2 days ago offline.

  • How can insert different types of data in the table?

    Hello
    How can I insert different types of data in the table, (e.g., numeric and string) in the same index of a table.

    example:
    index0 car 10 green

    car red 11 index1
    Index2 car Blue 12

    where green car red and blue car as string and 10, 11 and 12 in the numeric form.
    then I extracted 10, 11 and 12 a digital table

    and, the green car, red car, blue car in a string array

    Help!

    Use 'Analysis of the chain' as in the picture as an attachment.  This will extract the number and color that you can add tables later.

  • In MXML, how can insert you a line break in the label of a mx:Button?

    In other MXML components, you can do things like use curly braces to incorporate scripts, use '& #13' and stuff like that in their text and label attributes.  Apparently the mx label attributes: Buttons are so locked that normal suggestions for other components do not work.  I might try just setting the labels in the main script of an MXML file or something, but it's a sloppy programming if it can be avoided (values of labels will be constant in this case).  Is there a way to put a line break in the attribute in MXML?

    Regarding the use "& #13", which gave me a line break at least, but any text to the right of this sequence has disappeared.  This makes me think that there may be a way to make this work, but so far I have not found the way.

    Thank you!

    The response occurred in the thread that I put at the beginning for this:

    http://StackOverflow.com/questions/11621952/in-MXML-how-can-you-insert-a-newline-into-the-label-attribute-of-a-mxbutton

  • How can I add a site to use the master password I clicked previously never "for this site?

    When first asked me if I wanted to use the master password to a site (specifically www.facebook.com) I clicked on "never" do not forget the password for this site. How can I use the master password to this site (or any site) now?
    Thank you

    1. Click on the Firefox button, go to Options | Options | Security.
    2. Click the 'Exceptions' button and remove Facebook from the list.

    The next time you go to Facebook and type your password, you should get the option to add to the list of passwords.

  • How can I create a simple VM using the EFI firmware?

    I created a VM with OS 'Another 64 - bit' and edited the .vmx file, change only the "bios" = firmware firmware = "efi".

    Whenever I start the virtual machine, it uses the BIOS instead of the EFI. I can see when to start directly to the firmware, or by starting with a 8.1 Windows Installer disk and installing Windows checking connects immediately after that it started ("" detected boot environment: legacy ' ").

    How create/configure a virtual machine to use systematically the EFI, without her 'crush' or 'back' to my configuration?

    I use VMware Fusion 7.1.0 (2314774).

    Hi michielvoo

    Welcome to the VMware communities forum.

    I wrote an article on the use of EFI in a machine virtual here: Boot via the EFI firmware | PlanetVM

    Basically, what you're doing are correct. The part, I wonder about is if the double quote characters you use double quotes a normal and not the "fantasies" (as you can see in the above article, these are those fancy)

    It takes standard double quotes on your keyboard.

    Another possible reason to make it work is not is if you edit the vmx while your merger still works as he could return your changes to protect the virtual machine.

    If you don't know everything that's wrong with your vmx file, then send the vmware.log file is also in this folder to an answer here and I or someone else will take a look and see if everything's okay what is wrong.

    --

    Wil

  • I uninstalled Premiere Pro CS6 on a Mac after experiencing a problem loading, how can I reinstall it? I used the uninstall program.

    I uninstalled Premiere Pro CS6 on a Mac after the program stuck on ImportingQuicktime.bundle. I used the uninstall program, but now I can't get the program to reinstall again. Can someone help me with this?

    Thank you!

    You want to just install the first Pro CS6, you can download it directly, the screenshot below:

    Download the two files for MAC and you will be able to install the first Pro CS6.

    Concerning

    Varun

  • How can I save post a video using the FLVPlayback component

    I have a video I want people to be able to navigate away from in my project, but resume where it left off, if they come back to him.  I think I could do by just to save its current position when they come out of this framework as a variable, then using. seek() to return to that spot if/when they come back.

    The only problem is that I can't find any script to capture the current position.  I tried .time, but it gives me an error.

    Use the eventobject playheadUpdate earpiece playheadTime property:

    var flvUpdateObj:Object = new Object();
    flvUpdateObj.playheadUpdate = {function(eobj:Object):Void}
    trace (playheadupdate "+ eobj.target +": "+ eobj.playheadTime);
    };

    yourcomponent.playheadUpdateInterval = 500;
    yourcomponent.addEventListener ("playheadUpdate", flvUpdateObj);

  • How can I create my first blog using the Dreamweaver CC model

    Hello forum members. I would use the new "blog template" in Dreamweaver CC 2015. I'm looking for advice on the tutorials on the implementation of this new feature.

    It is possible to use DW to customize a WordPress theme in Code view.

    However, you must create the content of the site by a CMS/dashboard WordPress browser-based.

    Personally, I like WP Themes that are based on delicate framework Bootstrap.

    25 best free WordPress themes built with Bootstrap 2015 - Colorlib

    Nancy O.

  • How can I dial a phone number using the land line, internal modem for PC and LabVIEW 8.2

    I'll start writing a LabVIEW 8.2.1 program what selector to a number using my Dell Inspiron, Windows XP. Any body have any idea how I can do? or better, so anyone with a loan of vi.

    I would appreciate your help

    Thanks in advance

    Composition of a phone

  • How can I show STROKE when I use the type tool in photoshop?

    OK so I like using fonts assign right so when im using Illustrator I can use forehand so that the lines look bigger and what not letters. If im trying to figure on photoshop and have failed to do. So please if you can help please help.

    Hi shirazs,.

    • Tablecloth right the text layer
    • Select the merge options
    • Select Stroke and adjust the size and position

    You can see How to add features to the text in Photoshop: 6 steps (with pictures)

    Let us know if this helps

    Concerning

    Assani

  • How can I draw several plots by using the XY graph during execution?

    Hello

    I want to draw several plots in the graph XY to the means of execution user will select the number of plots that he wants to draw, depending on this value, I have to get these values and use table generation and then I give to graph XY.

    During execution, but how to do this?

    Please help me in this regard.

    Kind regards

    Herald

    Why start a new thread?

Maybe you are looking for

  • MacBook 2012 folder question mark at startup

    Hi, I have a Macbook 2012 model I ordered in late 2014 (this is a non-retina display Macbook pro with the Intel i7 and 8 GB of RAM). In Norway, we have what we call "reklamasjonsrett" which means that any consumer electronic retailers are required by

  • With the 3.6.3 version I can no longer do a right-click with the mouse and check the properties of a direct url link on web pages

    Windows XP Pro, SP3. Firefox 3.6.3. Since the update to this version a few weeks ago, that I can no longer do a right-click of the mouse and check the properties of an active url link on Web pages. I've always had the option before. I want this featu

  • Satellite L50D-B013 will not play sound

    I bought my Toshiba Satellite L50D-B013 almost 2 weeks, playing very well, all of a sudden yesterday, everything I play, the sound does not work. The videos play, just without the sound. I have not changed the settings, I did not all external chips e

  • Event log: NetBT 4319

    I have two network adapters, network adapter and wireless card. Both have a different IP address such as 192.168.0.78 and 192.168.0.90 Workstation name is digital. workstation is a member of the domain. There are two entries in the DNS with the same

  • Photosmart D7560 h Print issues after jam

    Yesterday, I was trying to print photos 4 x 6 ", and after having put photo paper in the tray, a"paper jam"message appeared. I looked in the wrong place for Jam and click 'ok' and the Board did not return, so I gently pulled the rear paper tray. I tr