Results 1 to 2 of 2
  1. #1
    gaccnovice is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2015
    Posts
    1

    Simple Inventory update form

    First - I am a novice Access programmer so what I am trying to do may be the wrong approach therefore causing me grief trying to build it.



    Problem: Trying to create a form to adjust quantities in an "Inventory Table"

    Small home business whose products consist of container and contents. Can have 100's of contents and 10's of containers, but the combination of containers and contents that we are selling is much less than X*Y so so want to store only the products we are selling. Rather not have to create "user understandable" product keys. Trying to base the data on the unique combinations of container and content that we are selling.

    Have three tables
    "Contents" Table with multiple fields describing the contents. Primary Key is Content_Name
    "Container" Table with multiple fields describing the container. Primary Key is Container_Name
    "Inventory" Table has 4 columns, Auto-number Key, Lookup on Content_Name Field, Lookup on Container_Name, Quantity

    Created a multiple field index on Content_Name and Container_Name in the Inventory table to ensure a combination of the two is unique in the table.

    Trying to create a bound form to the Inventory table, with drop down list for the two lookup fields and allow the user to adjust the quantity field. Tried several things based on ideas from a book and the internet with no luck. Can't get the Quantity field (or the Key) for the combination of content and container to display for the record.

    Seems simple, but I can't figure it out. Can someone point me in the right direction?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,633
    Review http://allenbrowne.com/AppInventory.html

    What you need to do with your current structure is find the existing Inventory record. Options are to use intrinsic Access search and filter tools or programming using UNBOUND controls to input search criteria to filter recordset or 'go to' record. Options for filtering:

    1. http://www.datapigtechnologies.com/f...tomfilter.html

    2. http://www.allenbrowne.com/ser-62.html
    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.

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

Similar Threads

  1. Help! Very Simple Inventory Needed
    By jflorey in forum Access
    Replies: 7
    Last Post: 08-13-2013, 04:17 PM
  2. simple to use FIFO inventory system
    By arran in forum Database Design
    Replies: 3
    Last Post: 02-14-2013, 03:14 AM
  3. Simple Inventory Database
    By NVRensburg in forum Database Design
    Replies: 5
    Last Post: 10-11-2012, 05:46 AM
  4. Simple inventory database
    By m1nd64m3 in forum Access
    Replies: 2
    Last Post: 07-22-2011, 02:55 PM
  5. Simple Inventory Database
    By jculp123180 in forum Database Design
    Replies: 6
    Last Post: 05-28-2011, 12:33 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