Results 1 to 3 of 3
  1. #1
    Mehvan's Avatar
    Mehvan is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2016
    Posts
    133

    Post problem with an orders send to products

    Hello Everyone



    I created an OrderInvoics and ReceivedInvouce for company , because When We have Order to any products , We should to know how many type of Items we have at products

    I created 1 Query for both Items ( Product_name , Items , OrderTons and OrderPrice , ReceivedTons , ReceivedPrice = OrderTons-ReceivedTons) here will tell me How many Tons stayed at products or you have on away .

    but I have a problem with Price

    for example : I bought this seize ( Pipe 40*40*1.50 MM = 50 tons by 500$ ) in 1/1/2017 , and after that I also bought that seize (30 tons by 510$) in 5/1/2017 , when that product send to me Email and buy that price it's normal , but when this seize comes to me by ( 515$ ) that 30 tons will be duplicate in program

    it means will tell me , you have 100 tons in this products , in real I have 80 tons


    Click image for larger version. 

Name:	Capture.PNG 
Views:	13 
Size:	30.6 KB 
ID:	27002

    I used Join between both ( Items to Items and Product_name to Product_name ) here I used Join for Product_name , duplicated my Items that seize to many Items by that name .

    Can someone help me , please ? When send to me different price , it tell me , you entered different price or doesn't duplicate tons ?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    I would hope you have a tInventory table,that went from Qty 50 to 80.
    and not use a tReceived table with 2 records ,one 50, one 30.

  3. #3
    Mehvan's Avatar
    Mehvan is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2016
    Posts
    133
    this program someone created by Microsoft Access 2003 , I think 7 years ago
    but in that program doesn't have an Order

    manager asked me to add an Order , and My Microsoft Access is 2010 , I was afraid to change many thing in that program , because still now , I don't have many information about programming

    ًWhen we have an Order to products , We will have many types of Items , and also they will send to us contract and will say your Order will be ready after one month or more , but they will accept and will record our order and they will send to us contract with those Items with tons and price

    because of that , I created ( head table and sub table ) for Order because one car bring many types of Items

    you mean I should create 1 table for inventory and all tblInvoices I should connect with tblInventory ?

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

Similar Threads

  1. Replies: 2
    Last Post: 11-01-2016, 09:04 AM
  2. Replies: 5
    Last Post: 07-10-2014, 09:37 AM
  3. send multiple email...code having problem.
    By wnicole in forum Access
    Replies: 15
    Last Post: 10-17-2013, 11:52 PM
  4. Replies: 8
    Last Post: 04-24-2012, 01:05 PM
  5. Orders & Products
    By mastromb in forum Database Design
    Replies: 4
    Last Post: 01-22-2010, 07:59 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