+ Reply to Thread
Results 1 to 7 of 7

Thread: How Relationships will help the layout of my Form

  1. #1
    Registered User
    Join Date
    09-04-2011
    Location
    Cheshire, England
    MS-Off Ver
    2010
    Posts
    10

    How Relationships will help the layout of my Form

    I have a table full of 'products' which looks kind of like this:

    Column A, Column B, Column C, Column D, Column E, Column F, Column G
    Product Code, Supplier, Type, Subtype, Colour, Size, Price

    I want to make an 'Order Form' where new orders are placed and employees can select the product according to all of these E.G:

    Date:
    Order #:
    Employee:
    Order Total: (made from sub-form's Sub'totals - below)

    (subform)

    Product Code:
    Supplier:
    Product Type:
    Subtype:
    Colour:
    Size:
    Price:
    Quantity:
    Subtotal:


    ....but I'd like it so that the subform was like a table so that employees can have lots of different orders for each order form, and so that the employee can type in the product code if they know it, and the rest of the info would go in automatically. Or, with drop down boxes, so if they new what supplier and selected it - you could then only select the 'Product Types' that supplier offers, then only select the 'Colour' or 'Size' that is available... until it is narrowed down enough that the Product Code is automatically entered.

    .... Does this make sense - I cant get my head around how I link the data so that this will work!

    Please Help - let me know if attaching my 'Products' list would help aid my poor description

  2. #2
    Valued Forum Contributor alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Lake County, Illinois
    MS-Off Ver
    MS Office 2010, 2007 and 2002
    Posts
    1,161

    Re: How Relationships will help the layout of my Form


  3. #3
    Forum Guru davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2007
    Posts
    1,879

    Re: How Relationships will help the layout of my Form

    If you set up the table with some sample data and a form and post it, we can help you set up the code that will make it run as you want.
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

  4. #4
    Registered User
    Join Date
    09-04-2011
    Location
    Cheshire, England
    MS-Off Ver
    2010
    Posts
    10

    Re: How Relationships will help the layout of my Form

    Sorry if this is a really thick question... but how do I attached the files.... I cant attach a database.

    Sorry =)

  5. #5
    Valued Forum Contributor alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Lake County, Illinois
    MS-Off Ver
    MS Office 2010, 2007 and 2002
    Posts
    1,161

    Re: How Relationships will help the layout of my Form

    Click on Post Reply. Scroll Down and click on manage attachments. Follow the instructions at that point.

    or

    Click on Post Reply and then click on the paper clip just above the white response space.

    Alan

  6. #6
    Registered User
    Join Date
    09-04-2011
    Location
    Cheshire, England
    MS-Off Ver
    2010
    Posts
    10

    Re: How Relationships will help the layout of my Form

    But what about forms? How do I attach a form?

  7. #7
    Forum Guru davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2007
    Posts
    1,879

    Re: How Relationships will help the layout of my Form

    Just attach your whole database, or a smaller sample database which demonstrates your problem.
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.2.0