Results 1 to 8 of 8
  1. #1
    amraam840 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2011
    Posts
    4

    Goods Order Form

    No introduction forum so... Hi, I'm new to Access. Maybe some pros here can point me in the right direction because I feel like this is about this far >< beyond my grasp of this software. I am familiar with forums sites so I have searched but I'm afraid the more specific I make my searches (here or Google), the more vague and off topic the results are. I've completed countless tutorials but I must have missed the one that hits the nail on the head here...



    I've got a small nonprofit selling shirts with 4 designs and 6 sizes. I have made a form with a subform that links customers to their orders but I can only order one size per design or vice versa.

    What am I looking at here to get one form per customer with subform for orders with multiple items per order, with text boxes for quantities, combo boxes for sizes and designs, and to calculate a running total price per order?

    I have separate tables for customers, designs, sizes (which price is based on), and orders.

    I have many more questions for other aspects of this database as well as others and I hope to gain a great deal of knowledge from this community that I may help others someday. This is the only part of my project that fits in this subforum. Okay, let me hear it; criticism, comments, and outright solutions are welcome.

  2. #2
    hertfordkc is offline 18 year novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    481

    You may need to give some more thought to your tables.

    No problem with the Customer table, as long as it contains only info basic to that customer.
    In thinking about your problem, I would call the Designs table AvailableDesigns.
    Likewise, AvailableSizes which would include price info.
    Next AvailableShirts which enumerates the design-size availability.
    OrderedShirts would contain the index from AvailableShirts and quantity ordered.
    Orders would contain OrderNo, CustomerID, and OrderShirt Index.
    Defining the relationships will be critical to making it work, but should make it easier to design the user interface.
    I hope what I've outlined is helpful. I'm sure there are other ways of solving the problem.

  3. #3
    amraam840 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2011
    Posts
    4
    Okay, great help! But now I'm finding that the $Total is calculating based of the [quantity]*(primary key)of[size] instead of [quantity]*[cost]. I suppose I'll have to add another field into the orders table showing the cost of each size???

  4. #4
    hertfordkc is offline 18 year novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    481

    You shouldn't have to add another field to the table.

    Quote Originally Posted by amraam840 View Post
    Okay, great help! But now I'm finding that the $Total is calculating based of the [quantity]*(primary key)of[size] instead of [quantity]*[cost]. I suppose I'll have to add another field into the orders table showing the cost of each size???
    IMHO, tables should contain very basic and unique pieces of information, and anything that can be calculated should be handled by queries and reports. By breaking the tables down as I conceived them, you really need to use queries to bring together user friendly names, size, prices and quantities. You may need a calculated field on some queries to extend quantity * price. You can have another query do order total, i.e sums quantity * price. if you need to show that on a form. (You may have to use event properties to requery in order to keep the total up to date.) Also, you will find the reports will group orders, sizes, etc for you and run totals.

  5. #5
    amraam840 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2011
    Posts
    4
    Hm, queries... Unexplored territory.

  6. #6
    hertfordkc is offline 18 year novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    481

    Queries give so much power to Access.

    Use the design view and explore. Unless you already know SQL, I wouldn't start there.
    Most reports and forms are based on queries rather than directly on tables.

  7. #7
    amraam840 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2011
    Posts
    4
    Well SQL is something I think I'll have to look into out of neccessity. Someday I want to have my webpage hosted on my own dedicated pc and I've tried that a little bit and it involved SQL but I was way over my head. For now, I'll just stick with the basics but I need to figure out what basics I need..... As in getting relationships just right and figuring out what all needs it's own tables...

  8. #8
    hertfordkc is offline 18 year novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    481

    I didn't mean to suggest you shouldn't pursue SQL. I meant

    that if you have no experience with it, I think switching between design view and SQL view in query design is much easier than trying to experiment by writing SQL statements.
    Good luck.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. prefilling items into an order form
    By syscoandrew in forum Forms
    Replies: 5
    Last Post: 09-25-2011, 12:27 PM
  2. Replies: 2
    Last Post: 06-23-2011, 03:35 AM
  3. Sequential Order ID on Form
    By charya in forum Forms
    Replies: 1
    Last Post: 01-15-2011, 10:51 AM
  4. Replies: 1
    Last Post: 11-07-2010, 11:04 AM
  5. Help With Purchase Order Form
    By SpeedyApocalypse in forum Forms
    Replies: 29
    Last Post: 04-09-2010, 07:06 PM

Tags for this Thread

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