Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    Join Date
    Mar 2013
    Posts
    27
    I spent quite a bit of time working out the calculations. They look good now. The amount in inventory is shown on the "Products" Form.
    Here is an example:Click image for larger version. 

Name:	Products Form.JPG 
Views:	6 
Size:	116.9 KB 
ID:	12157



    Also note that there are two transactions... the first transaction has 3 ordered and 3 received. The second transaction has 8 ordered and none received. This puts the count at 3.



    I am not interested at this point in changing the functionality of the database or starting over with someone else's version of inventory. I just want to understand the "Right Join" relationship and how to manipulate it so that when creating a transaction in "inventory transactions" it does not create an unnecessary purchase order. (Nothing is being purchased with that transaction. Just reducing inventory.)
    All I want is to be able to document the items that have been used. The "Products" Form already calculates what is in stock.

  2. #17
    Join Date
    Mar 2013
    Posts
    27
    Perhaps this might help you help me.....

    When creating a transaction in inventory transactions..... to reduce the inventory count of an item..... if I leave the Employee field blank it DOES NOT create a purchase order for that transaction. THAT IS EXACTLY WHAT I WANT TO HAPPEN! I have a record of the item being used, the date, description. Everything except which employee created the transaction.

    But, of course, I would like the employee to be able to enter their name so we have a record of who used the item. This is where the question comes into play. The Join seems to be centered around EmployeeID. Everything in that Query is pulled from "Inventory Transactions" except for "EmployeeID" which is pulled from "Purchase Orders". This you can see in the jpeg in Post #12 and in the Record Source in Post #6.

    How can I manipulate the Join to accomplish this??????

  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

  4. #19
    Join Date
    Mar 2013
    Posts
    27
    Click image for larger version. 

Name:	Most Recent Relationships.JPG 
Views:	3 
Size:	117.8 KB 
ID:	12165



    Does this show everything you need to see?

  5. #20
    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 don't see how you could manipulate the join to do what you want. Have you done any googling or reviewed any other data models that deal with inventory, reorder levels etc. to see what others have "designed"?

    Here's one that may give ideas. http://www.databaseanswers.org/data_...tail/index.htm

    Did you read the Allen Browne article? http://allenbrowne.com/appinventory.html

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

Similar Threads

  1. SQL - Outer Join
    By mallorz in forum SQL Server
    Replies: 7
    Last Post: 10-11-2012, 08:02 PM
  2. OUTER and INNER JOIN Issue
    By riaarora in forum Queries
    Replies: 1
    Last Post: 09-02-2012, 08:13 AM
  3. Outer Join Nested in Inner Join
    By Stevens7 in forum Queries
    Replies: 2
    Last Post: 10-19-2011, 01:34 PM
  4. Outer Join Composite Key
    By Lady_Jane in forum Queries
    Replies: 6
    Last Post: 08-26-2011, 09:44 AM
  5. Ambiguous Outer Join Error
    By scruiks in forum Queries
    Replies: 3
    Last Post: 07-18-2010, 05:06 PM

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