Results 1 to 4 of 4
  1. #1
    JoCoR is offline Novice
    Windows 7 64bit Access 2013 32bit
    Join Date
    Jun 2019
    Posts
    1

    Access beginner needs to build an Inventory Tracker/Manager.

    Hi all. I consider myself an above average Excel user, self taught through experience and by searching for answers on google and forums. I am, however, humbled by how much I'm struggling trying to figure out Access. I know they are two different kinds of beasts, but Access is making me loose my mind.

    I am trying to build an Inventory database, where we can keep track of reagents we receive, when are they put in use and by whom. My plan is to use a barcode scanner to scan the QR barcode that comes with each reagent box, and have Access split/parse the barcode string into 3 specific portions that we need:
    1. Reagent Reference # is the string that will identify the reagent, specific for each one, and which will never change.
    2. Lot Number is the reagent's lot number, which changes frequently.
    3. Expiration Date is the reagent's shelf expiration date, which also changes with each lot.


    I already made a Database with all the Reagent Reference # with the pertinent information, like Reagent Pack Name, Description, Type of reagent and which analyzer uses it.

    What I want is to have a field in a form where I scan the QR code and it will automatically grab the strings that are needed from the barcode, use the Reagent Reference # to match it to the corresponding reagent and bring up the name and description into another field in the form. Then the user just enter quantity received and miscellaneous information, hit Save and the data will be added to a Table log for tracking purposes.



    I'm guessing the part I'm having issues with the most is determining table relationships and building queries.
    I'm attaching a very crude version of what I have so far, which is just the tables and a plain form. I managed to do what I want in Excel. My brain is still struggling to comprehend that Excel and Access are not the same, so my approach is still very Excel oriented.

    Any help would be greatly appreciated.
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Good that you are not using spaces in naming convention. Should also avoid punctuation/special characters (underscore only exception) - one field has "/" character. Shippment should not have two p's. NewLot/Shippment - better would be NewLotShipment or NewLot_Shipment

    QR codes and bar codes are not really the same. QRcodes may be trickier than barcodes in translating to a text structure that can be saved into database. Certainly more difficult for Access to generate the graphical output for printing. Translation must be done by the scanner software for saving to database. Scanner is an input device just as a keyboard and mouse are input devices. Need the right drivers.

    Code behind textbox will have to parse string to its parts and save to fields. Or just save full string and calculate substrings when needed.

    For an introduction to inventory control, review http://allenbrowne.com/AppInventory.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.

  3. #3
    ssanfu is offline Master of Nothing
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Things I saw:

    * "tblReagentDB.Reagent Type" has a space

    * The caption property for "tblReagentLog.Reagent" is "Pack Name & Description". In Access, the "&" is a hot key. So the caption would have to be "Pack Name && Description". But I would recommend the caption property NOT be used. Use the caption property of the control label instead.

    * You shouldn't use look-up FIELDS in tables, nor Calculated fields in tables.
    I would also recommend against Value Lists in tables. Since I never use a form in Datasheet view, it is a waste of time to create the value list in a table, then having to create the value list again in a combo box on a form.



    You need error handling code for when the "ReagentReferenceIDParse" is not in the "tblReagentDB" table.



    My $0.02.......

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    I agree with the comments given so far. I recommend creating of a draft data model based on your requirements
    that can be tested with pencil and paper (where it is much easier to adjust) using some sample data and scenarios.
    See the Database Planning and Design link in my signature for several articles that might be helpful to your project.
    You may also find some insight in this free Stock Management video from Software-Matters.
    Good luck with your project.

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

Similar Threads

  1. How to Build a Personal CRM Manager
    By DigitalAdrenaline in forum Access
    Replies: 4
    Last Post: 03-20-2019, 05:51 PM
  2. Wasted Inventory Tracker
    By sgtpsychosis in forum Database Design
    Replies: 5
    Last Post: 06-29-2017, 01:35 PM
  3. Beginner, build a app for work
    By Behedwin in forum Access
    Replies: 3
    Last Post: 09-27-2016, 04:51 PM
  4. Replies: 1
    Last Post: 04-01-2014, 10:54 AM
  5. Inventory Control DB (Beginner)
    By Clayton252 in forum Database Design
    Replies: 1
    Last Post: 10-06-2010, 06:41 PM

Tags for this Thread

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