Results 1 to 5 of 5
  1. #1
    kulangotski is offline Senior Member
    Join Date
    Feb 2009
    Posts
    117
    Rep Power
    0

    Default need some derby tips:

    hello

    our intructor told us to do an application that will be used by a burger stand..

    it works like this, we listed 3 items in the interface..

    cheeseburger
    burger
    deluxe

    if the crew clicks on the checkbox corresponding the item, it will be included to the order..

    there aint no problem with that, the problem comes in updating the database..

    the database contains columns of ingredients that are used for making hamburgers..

    i need to deduct the ingredients that are needed to make that type of burger..

    for example,
    the crew checks cheeseburger checkbox. when he clicks submit, a patty, a bun, and a slice of cheese should be taken from the databse

    .................................................. ...............................

    can anybody suggest some process that can make this work?

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  3. #3
    kulangotski is offline Senior Member
    Join Date
    Feb 2009
    Posts
    117
    Rep Power
    0

    Default hello

    ei. tnx for the reply..

    i have already created the interface conatining the items of the burger stand and also i also have created the database which contains the quantity of the ingredients..

    i just need to find a way to link my interface's values and the database..

    i mean, i need to get the databse controlled by user input.

    for example, i bought a hamburger.. that hamburger conatins a patty and a bun..

    how will i deduct that patty and bun that was used in the process??

  4. #4
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

  5. #5
    kulangotski is offline Senior Member
    Join Date
    Feb 2009
    Posts
    117
    Rep Power
    0

    Default hey

    ei tnx man.. im goin to check these links to give me a clear up

    tnx again, appreciated the help

Similar Threads

  1. Replies: 0
    Last Post: 02-13-2009, 07:46 AM
  2. procedures in derby
    By suhaib1thariq in forum JDBC
    Replies: 0
    Last Post: 01-31-2009, 06:39 PM
  3. using if in derby
    By suhaib1thariq in forum JDBC
    Replies: 0
    Last Post: 01-25-2009, 05:46 AM
  4. [SOLVED] Unable to connect to Derby from jsp pages
    By smartboy3k in forum New To Java
    Replies: 1
    Last Post: 12-30-2008, 06:27 PM
  5. Is there a problem with Derby?
    By orion_mcl in forum Advanced Java
    Replies: 0
    Last Post: 08-10-2007, 05:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •