Results 1 to 3 of 3
  1. #1
    BillyGreaves is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Sep 2017
    Posts
    1

    Item Tracking Database

    Hey guys, I'm fairly new to Access, we touched on it in school a bit but now I'm out in the real world and have to make up a database to track items. The company I work for loans out hire radios and to make life easy I wanna make up a database to track the radios as they come in and go out.

    Is there anyway I can do this?



    Cheers.

  2. #2
    Join Date
    Apr 2017
    Posts
    1,679
    Tables
    tblCustomers: CustomerID, Forename, Surname, AddressRow1, AddressRow2, AddressRow3, ZIP, Email, Phone, ...,Status (The simplest way to keep info about devices not loaned out is define your company as a customer too, with Status = 1. To register devices out of use, define also a company with Status = 9. For for all other customers Status will be 0.);
    tblDevices: DeviceID, SN, Producer, Mark, ..., CurrCustID, CurrStatus (CurrCustID and CurrStatus are added to make it easier to set filters on forms/reports, but they are calculated at form level, not at table level.);
    tblMovements: MovementID, MovementDate, DeviceID, CustomerID.

    Forms
    fMain: unbound form with a tab control. Tab has pages pgDevices and pgCustomers;
    fCustomers: a continious form with tblCustomers as source, placed on pgCustomers;
    fDevices : a single form with tblDevices as source and with subform based on tblMovements. Add a combo to select filter condition for this form on pgDevices of fMain, to display only loaned out devices, devices not loaned out, devices out of use, or all devices except out of use.
    fMovements: a continous form with tblMovements as source, placed as subform on fDevices and linked through CustomerID with it. In afterUpdate event(s) of form/form controls, CurrCustID and CurrStatus for current device are calculated.

  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
    I stole the following from a post by orange - it is better than anything I could write:
    ---

    "I recommend you create a narrative in simple terms about your proposed database and application. You don't start building a database by identifying a Form with 3 buttons. Now, that may very well be your initial user interface, but that is not the database. It is not as easy as many think to clearly describe WHAT your business is/will be. Consider the "things" involved(entities), the particular characteristics of each(attributes) that are important for your business and how these things relate to one another (relationships). After you have the narrative, you can use pencil and paper (or whiteboard or cardboard or ...) to develop and refine a data model. Create some test data and vet your model.
    <snip>

    <snip>
    I see too many people, who have the latest HW and Access, jumping in head first think the software will build the database. They have multiple issues and can't access the data required for X and/or Y, and typically it is an issue of basic table and relationship design. Their next "rationalization" is " I've got too much invested to go back and correct the design...". Don't get yourself in that predicament.

    You have to do the analysis, build a plan, set priorities......Since you have the business, you know the processes better than anyone, so analysis should be second nature-- and providing you are familiar with database concepts -- designing the database should be an iterative process and a good learning experience for you. The data model and testing/vetting will result in a blueprint for your database. Review, test, adjust, and repeat until you get the results you expect. People are here and willing to help."
    ---


    While ArviLaanemets has good suggestions, I suggest that you get pencil and paper, a whiteboard, chalkboard, etc and design your table structures/relationships before jumping on the computer.
    Try working through the design adding data to see if it is functioning as you expect/want.


    "Old Programmer's Rule" is this: If you can't do it on paper then you can't do it in Access. Until you can draw out your tables AND rules for how they change for each function you want to perform, you are going nowhere fast.



    Some suggestions:
    Use only letters and numbers (exception is the underscore) for object names.

    Do not use spaces, punctuation or special characters in object names.
    Do not use look up FIELDS, multi-value fields or calculated fields in tables.
    Do not begin object names with a number.


    In addition, don't make the common mistakes when it comes to naming,
    http://www.access-programmers.co.uk/...d.php?t=225837
    reserved words, http://allenbrowne.com/AppIssueBadWord.html
    lookup fields (don't),
    calculated table fields (don't) http://allenbrowne.com/casu-14.html
    and multi value fields (definitely don't) see "What's Mixed" here http://allenbrowne.com/Access2007.html
    and definitely understand what autonumbers are for http://www.utteraccess.com/wiki/index.php/Autonumbers
    Microsoft Access Tables: Primary Key Tips and Techniques http://www.fmsinc.com/free/newtips/primarykey.asp


    AutoNumber
    Purpose: Use an AutoNumber field to provide a unique value that serves no other purpose than to make each record unique. The most common use for an AutoNumber field is as a primary key.



    You might also check Barry Williams site to see if there is a model
    ===============================================

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

Similar Threads

  1. Help Creating Tracking Database
    By 2uniq in forum Access
    Replies: 7
    Last Post: 01-14-2015, 09:36 PM
  2. Tracking Changes In Database
    By data808 in forum Access
    Replies: 2
    Last Post: 03-25-2014, 12:21 AM
  3. Help with Tracking Database Form
    By KCC47 in forum Forms
    Replies: 46
    Last Post: 05-20-2013, 09:56 PM
  4. Material Tracking Database
    By bong in forum Programming
    Replies: 2
    Last Post: 08-19-2012, 07:54 PM
  5. help with tracking within a database
    By martyn in forum Queries
    Replies: 0
    Last Post: 10-07-2009, 02:15 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