Results 1 to 5 of 5
  1. #1
    chuki2 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Nov 2011
    Location
    Selangor,Malaysia
    Posts
    26

    Stock Managment Database Design

    Hello all,i need a help....



    I have 4 table

    1)tblCustomer
    2)tblStock
    3)tblSales
    4)tblPost


    In my formPurchase,i can select name then add item to buy...So how i can do it?



    1) Keep customer name,address and contact number

    2) Keep item,description item,stock,factory price and sale price

    3) Keep quantity item purchase,date purchase

    4) Keep name courier,post date and number tracking

    This is my relationship




    Like this? or im wrong...?

    I need idea to build it....

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,618
    Not sure why you have the idCust in tblPost
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    chuki2 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Nov 2011
    Location
    Selangor,Malaysia
    Posts
    26
    Because one customer can see many posting....

    Then one posting can see many item buying....

    Can do that?

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,618
    Hard to read that image. What is it you are posting? The sale? The sale is associated to customer and the sale is associated to posting. You get customer/posting association through the sale. If this is not correct understanding, please clarify your schema logic.

    Also, now see that customer is linked to Stock, not Sale. Relating customer with sale makes more sense to me.

    A sale has goods and a customer and is posted. Will each post have more than one sale? Can each sale have multiple stock items? Consider:

    tblSales
    SaleID (primary key)
    CustID (foreigh key)
    SaleDate
    PostedBy
    TrackingNumber
    PostDate

    tblCustomers
    CustID (primary key)
    name, address, etc.

    tblSalesDetail
    SaleID (foreign key)
    StockID (foreign key)

    tblStock
    StockID (primary key)
    description, price, etc
    Last edited by June7; 12-23-2011 at 02:19 AM.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    chuki2 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Nov 2011
    Location
    Selangor,Malaysia
    Posts
    26
    Ok thanks for help...i got it...

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

Similar Threads

  1. Database Design for Specification Database
    By khwaja in forum Database Design
    Replies: 2
    Last Post: 11-24-2011, 03:58 AM
  2. Property Managment Form
    By JennyHunt in forum Forms
    Replies: 0
    Last Post: 03-02-2011, 08:30 AM
  3. Invoicing with Stock Control Design ....
    By mond007 in forum Access
    Replies: 5
    Last Post: 05-23-2010, 07:21 AM
  4. Vessel managment database
    By elviscenko in forum Database Design
    Replies: 1
    Last Post: 03-13-2010, 08:52 PM
  5. creating a stock control database!!! HELP!!!!
    By Legend9 in forum Database Design
    Replies: 1
    Last Post: 09-10-2009, 02:24 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