Results 1 to 10 of 10
  1. #1
    mm26 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Location
    Dallas
    Posts
    11

    Asset Tracking

    Re suggestions in thread https://www.accessforums.net/databas...out-27485.html

    Would you mind explaining how the dependent child tables would work? I am adding asset tracking to our employee database and will be tracking Computers, Air Cards and Cell phones (for now).


    tblAsset


    AssetID PK
    AssetType FK (Computer, Air Card, Cell Phone)

    ? Confusion begins.....


    thank you!!

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    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
    mm26 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Location
    Dallas
    Posts
    11
    Hi,
    I downloaded MS's Asset Database and it looks like the Asset Table only has one FK (Owner), the rest of the fields are text:
    Description
    Category
    Condition
    Model
    etc.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Consider:

    tblAssets
    AssetID (PK)
    EmpID (FK)
    AssetType
    ModelNo
    SerialNo

    tblCellDetails
    AssetID (FK)

    tblComputerDetails
    AssetID (FK)

    tblAirCardDetails
    AssetID (FK)

    Various fields for each Details table.

    Use form/subform arrangement for data entry/edit.
    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.

  5. #5
    mm26 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Location
    Dallas
    Posts
    11
    Thank you so much, I really appreciate the help! Sorry for being a little dense!

  6. #6
    mm26 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Location
    Dallas
    Posts
    11
    Hi,
    I added a subform to the employee form to display Assets associated with each employee. I can link the employee form to the asset form for additional details:

    AssetF

    Has Header info (Asset#, AssetType, Identifier & Employee Assigned)

    Subform 1 (I would like just the appropriate detail subform but don't know how to do this**)
    Suborm 2 Transactions (to show history, returned and reassigned assets)

    **I am unsure how to display the detail information on this form. Is there a way to choose the appropriate table based on the asset type? For instance, I just want to display the ComputerDetailsF for Computers, the AircardF for aircards etc.

    Thank you so much!!

  7. #7
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    I suggest you use 3 subforms organized on a tab control.
    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.

  8. #8
    mm26 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Location
    Dallas
    Posts
    11
    Thank you, is there a trick to linking the correct details table? A query based on asset type maybe?

  9. #9
    mm26 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Location
    Dallas
    Posts
    11
    Hi,
    I added a subform to the employee form to display Assets associated with each employee. I can link the employee form to the asset form for additional details:

    AssetF

    Has Header info (Asset#, AssetType, Identifier & Employee Assigned)

    Subform 1 (I would like just the appropriate detail subform but don't know how to do this**)
    Subform 2 Transactions (to show history, returned and reassigned assets)

    **I am unsure how to display the detail information on this form. Is there a way to choose the appropriate table based on the asset type? For instance, I just want to display the ComputerDetailsF for Computers, the AircardF for aircards etc.

    Thank you so much!!

  10. #10
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Here is a technique that will allow the 3 detail subforms to sit next to the Asset subform.

    http://www.fmsinc.com/MicrosoftAcces...edSubforms.asp

    If you want only one displayed at a time, it is possible to programmatically set the SourceObject of the subform container control. Or to hide or show subform containers by setting Visible property.
    Last edited by June7; 02-24-2014 at 05:04 PM.
    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. Location of asset and latest record for asset
    By duramax in forum Queries
    Replies: 11
    Last Post: 05-14-2013, 04:31 PM
  2. Asset Management Web Database
    By gemadan96 in forum SharePoint
    Replies: 2
    Last Post: 05-01-2013, 02:36 PM
  3. Inventory/Asset tracking database.
    By russkris in forum Access
    Replies: 7
    Last Post: 04-26-2012, 02:27 PM
  4. Asset Tracking Database
    By wgroenewald in forum Access
    Replies: 3
    Last Post: 02-13-2012, 08:26 PM
  5. Purchase price of asset
    By Ron.Sul in forum Access
    Replies: 4
    Last Post: 09-17-2010, 11:28 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