Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    hatman is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    9
    ok i have another question? i found another database on my computer. it seems to me to be more user friendly and i have no idea when i made this one.My question would be which one would you use ?
    also which database has the better set up for my products?


    is there any tables you would adjust? and if so what should be done?
    again i am looking to make a database for customers,products and orders?
    do i have my orders and invoices set up ok?
    i am a little confused as to setting up my orders and invoice tables.
    thanks in advance
    Attached Files Attached Files

  2. #17
    Xipooo's Avatar
    Xipooo is offline Sr. Database Developer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Arizona
    Posts
    332
    Quote Originally Posted by hatman View Post
    ok i have another question? i found another database on my computer. it seems to me to be more user friendly and i have no idea when i made this one.My question would be which one would you use ?
    also which database has the better set up for my products?
    is there any tables you would adjust? and if so what should be done?
    again i am looking to make a database for customers,products and orders?
    do i have my orders and invoices set up ok?
    i am a little confused as to setting up my orders and invoice tables.
    thanks in advance
    I like the table structure of the one you've been working on better than the one you've found. There is also a LOT more data in the one you've been working on.

    Invoices are orders which have been placed and billed. An invoice is generally created after an order has been completed and the goods or services have been or are being delivered depending on your business practices.

    It is a good idea to have an OrderID in your Invoices table and an InvoiceID in your Orders table so that you can look to either one to find the corresponding counterpart. You CAN have it where only one of the two tables points to the other, but it makes for more complex queries down the road.

    Invoices are usually broken up into two different tables. A headers table and a details table. Your tblInvoiceHeaders table should be the general information about the invoice. Things like CustomerID, AddressID, ContactID, OrderID, Total amount for the order, taxes, etc. Your tblInvoiceDetails table should be specific line by line details about that invoice. Things like the ProductID, ProductPrice at the time of the sale, Quantity, LineNumber, and a reference to the InvoiceHeaderID.

    Again, this is a suggestion. It is not a requirement.

  3. #18
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    I haven't looked at your example databases, but I would suggest that if you designed a particular database, based on your business , then that database is more likely to fit your needs better than something you "found" on the internet. The only condition I would add is that you have identified your business; understand the business rules; have built and tested your database design against those rules.

  4. #19
    hatman is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    9
    yes i think the first one works better too. on another note do i have my tables set up right to keep going.as you can see in Ordersdetail table i am using OrdersID as my invoice number. Is this the correct way to do it? If not can you help me set it right?
    if you have any suggestion on a better way please show me a way you would set it to. again i am new to this and i am just using paper copies to enter my sales.

    will i be able to run a query to see how much a certain customer has purchased for the year? also could i break it down to say jan,feb etc?
    as always thanks for you advice.
    greatly appreciated.hatman

  5. #20
    Xipooo's Avatar
    Xipooo is offline Sr. Database Developer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Arizona
    Posts
    332
    Quote Originally Posted by hatman View Post
    yes i think the first one works better too. on another note do i have my tables set up right to keep going.as you can see in Ordersdetail table i am using OrdersID as my invoice number. Is this the correct way to do it? If not can you help me set it right?
    if you have any suggestion on a better way please show me a way you would set it to. again i am new to this and i am just using paper copies to enter my sales.

    will i be able to run a query to see how much a certain customer has purchased for the year? also could i break it down to say jan,feb etc?
    as always thanks for you advice.
    greatly appreciated.hatman
    We're starting to venture into tutorials land. We really aren't going to be able to get you what you need if you don't educate yourself a bit more on database normalization. I suggest you do some reading and video watching on normalization techniques. There are lots of articles on it. Here is one by Microsoft for Beginners: http://support.microsoft.com/kb/283878

    I also go over some basic database design in my tutorial series. http://www.youtube.com/playlist?list...03jQ_t9nFV737s

  6. #21
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    I agree that you have to gain some knowledge/experience in database design and normalization.

    Watch these videos (youtube)
    Video tutorials:
    These are quite good for learning by Watching/Listening rather than reading.

    http://www.youtube.com/watch?v=IiVq8M5DBkk Logical data modeling

    http://www.youtube.com/watch?v=BGMwuOtRfqU Candidate key

    http://www.youtube.com/watch?v=ZiB-BKCzS_I Normalization

    http://www.youtube.com/watch?v=pJ47btpjAhA Normalization example

    http://www.youtube.com/watch?v=q3Wg2fZENK0 1st Normal form

    http://www.youtube.com/watch?v=vji0pfliHZI 2nd Normal form

    http://www.youtube.com/watch?v=HH-QR7t-kMo 3rd Normal form

    http://www.youtube.com/watch?v=q1GaaGHHAqM E_R Diagramming

    Good luck.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Can somebody review the code in attached database?
    By A Abbas in forum Programming
    Replies: 4
    Last Post: 01-27-2012, 04:57 AM
  2. Annual Review
    By kwilbur in forum Access
    Replies: 5
    Last Post: 01-03-2012, 10:33 AM
  3. Review Cycles
    By Luke in forum Access
    Replies: 1
    Last Post: 07-19-2011, 12:38 PM
  4. review my database
    By simba in forum Access
    Replies: 0
    Last Post: 06-20-2011, 08:40 AM
  5. BD Structure (review)
    By Bryan021 in forum Database Design
    Replies: 0
    Last Post: 05-26-2011, 11:39 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
  •  
Other Forums: Microsoft Office Forums