Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. database design

database design

Scheduled Pinned Locked Moved Database
databasedesignhelp
8 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    avvaru murali
    wrote on last edited by
    #1

    Hi, my database is Ms-Access database.. iam doing product based application(windows application) i have to store data based on the invoice number... invoice number is (primarykey) based on invoice number i have to store multiple items reports when i select invoice number those items should be displayed... please help me

    murali krishna

    U 1 Reply Last reply
    0
    • A avvaru murali

      Hi, my database is Ms-Access database.. iam doing product based application(windows application) i have to store data based on the invoice number... invoice number is (primarykey) based on invoice number i have to store multiple items reports when i select invoice number those items should be displayed... please help me

      murali krishna

      U Offline
      U Offline
      Ujjaval Modi
      wrote on last edited by
      #2

      Hi, Just write the query with where condition. for eg. select * from tablename where invoicenumber='xyz'

      Regards, Ujjaval Modi

      A 1 Reply Last reply
      0
      • U Ujjaval Modi

        Hi, Just write the query with where condition. for eg. select * from tablename where invoicenumber='xyz'

        Regards, Ujjaval Modi

        A Offline
        A Offline
        avvaru murali
        wrote on last edited by
        #3

        Hi Thanks for your reply... my problem is my database is (ms-access) database ihave to store multiple items in one invoice number(primary) invoiceNo items units 1 Nokia6600 4 Nokia6633 5 Nokia6030 3 2 Nokia 1300 2 Nokia 1100 3 like this ....(database design) and coding in c# application

        murali krishna

        U 1 Reply Last reply
        0
        • A avvaru murali

          Hi Thanks for your reply... my problem is my database is (ms-access) database ihave to store multiple items in one invoice number(primary) invoiceNo items units 1 Nokia6600 4 Nokia6633 5 Nokia6030 3 2 Nokia 1300 2 Nokia 1100 3 like this ....(database design) and coding in c# application

          murali krishna

          U Offline
          U Offline
          Ujjaval Modi
          wrote on last edited by
          #4

          What exactly do u want ? A database design or u already have one ?

          Regards, Ujjaval Modi

          A 1 Reply Last reply
          0
          • U Ujjaval Modi

            What exactly do u want ? A database design or u already have one ?

            Regards, Ujjaval Modi

            A Offline
            A Offline
            avvaru murali
            wrote on last edited by
            #5

            Hi, yes i want database design

            murali krishna

            U 1 Reply Last reply
            0
            • A avvaru murali

              Hi, yes i want database design

              murali krishna

              U Offline
              U Offline
              Ujjaval Modi
              wrote on last edited by
              #6

              Just mention clearly that u want a working sample.

              Regards, Ujjaval Modi

              A 1 Reply Last reply
              0
              • U Ujjaval Modi

                Just mention clearly that u want a working sample.

                Regards, Ujjaval Modi

                A Offline
                A Offline
                avvaru murali
                wrote on last edited by
                #7

                Hi, ya if it is ok ---- clearly i want database design and query for inserting and selecting that that particular table i have to desing table like this invoiceNo(primarykey),products,units,Cost in this one invoice number should consists od mmultiple products information.... this is main i Want ..

                murali krishna

                E 1 Reply Last reply
                0
                • A avvaru murali

                  Hi, ya if it is ok ---- clearly i want database design and query for inserting and selecting that that particular table i have to desing table like this invoiceNo(primarykey),products,units,Cost in this one invoice number should consists od mmultiple products information.... this is main i Want ..

                  murali krishna

                  E Offline
                  E Offline
                  Eric W
                  wrote on last edited by
                  #8

                  i think your datatable should designed as follows: ProductedId(pk) Products units TypeId 1 Nokia1600 2 1 2 Nokia1700 5 1 3 Nokia1800 6 1 4 Nokia2600 2 2 5 Nokia4600 8 2 6 Nokia8100 2 3 7 Nokia8300 1 3 8 Nokia56 6 3 9 Nokia1310 2 3 Connection string: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\mydatabase.mdb;User Id=admin;Password=; query sentence: select * from products where typeid=x; hope it will work as you wanted.

                  modified on Saturday, December 29, 2007 11:57:04 PM

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups