Results 1 to 3 of 3
  1. #1
    bmark is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Mar 2012
    Posts
    1

    Entities and Attributes - Table Design

    Hello,

    I'm trying to find the cleanest design for a couple of tables. Hope fully someone can help. The key table going to be "Transactions" and this is where all transactions will be recorded for a reuasable widget that Company ABC has in their inventory of assets. This widget has a barcode which will remain with it for it's lifetime. There will be several fields in the table pertaining to who did what with regards to scanning the wdiget's barcode and when. The main area I want help to keep as smooth and clean as possible is this...

    Each widget actually goes out to a customer but at some point it returns to the company where it will be cleaned and reused. Some widgets may be taken out of service for various reasons, which includes bening sent to a recycler at the end of it's life cycle.



    My thoughts are to have a boolean field in the transactions table which allows a user to put a widget in an eiligibility status of active or inactive. Then another field to give the widget a status which would be filtered based on eligiblity. If the widget is active it will have one set of statuses and anoter for inactive. A status of an active widget could be that it is "out" (with the customer) or in at the company, however, when it is in at the company it will be in different states (i.e. dirty, cleaned, internal use, damaged, etc)

    Would it be better to assign a widget to a location while it's at the company and have each location define it's state while at the company, meaning it could be assigned to a cleaning location (meaning it's being cleaned) or a dirty location (meaning it's waiting to be cleaned).

    It seems like using locations rather than states would give me more bang for the buck because not only does it tell me what state my widget is in but also where it resides.

    tblTransactions
    WidgetType
    Active - Yes/No
    StatusID

    tblStatus
    ID
    Status


    Any ideas would be greatly appreciated!

  2. #2
    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,849

  3. #3
    dblife's Avatar
    dblife is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Nov 2011
    Location
    South Shields, UK
    Posts
    104
    Sounds fine.
    If it were me, I avoid boolean types, I would have a date field when the widget left active use.
    That way, you know when it expired as well as it had expired.

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

Similar Threads

  1. Assigning grouped attributes to a record
    By owenik in forum Access
    Replies: 3
    Last Post: 10-02-2011, 05:10 PM
  2. Replies: 7
    Last Post: 10-08-2010, 09:48 AM
  3. attributes out of order
    By Dornenhexe in forum Queries
    Replies: 9
    Last Post: 07-12-2010, 02:36 PM
  4. Hidden Attributes
    By NMJones in forum Access
    Replies: 1
    Last Post: 02-09-2010, 10:57 AM
  5. Macro to set rich text attributes?
    By EER in forum Programming
    Replies: 0
    Last Post: 03-04-2009, 09:25 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