Results 1 to 4 of 4
  1. #1
    Voodeux2014 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Location
    Slidell, LA
    Posts
    130

    Question Didn't know how to search this one first...


    So here is my scenario. I have a database that is set up to keep track of all devices (serial number, model, device name) in one table and all employees in another table. There is a middleman table, I guess you could call it that helps the database understand which devices are assigned to which employee. Currently I have it set up where you can assign a device to an employee on a form, save it and it will show up in the query when it is run. Only problem is that one device eventually will have more than one owner according to the database, which technically is false. My company purchases one computer per employee. Sometimes employees get upgrades or whatnot.

    Here is what I would like to do:
    When assigning a device to an employee, I would like to have a dialog box pop up to confirm this before saving the changes (that's the easy part).
    After accepting the change I would like the device to remain only assigned to one person, which would be the new owner and not the previous owner.


    If possible, I would also like to be able to track the history of who has been assigned to a device for future references.

  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
    53,621
    The middleman (junction) table is the history table. Include a date field for the assignment.

    Query would pull the most recent assignment for each device.

    Have you looked at the MS Desktop Asset Tracking database template?
    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
    Voodeux2014 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Location
    Slidell, LA
    Posts
    130
    No I have not checked out that template. Do I need to do anything special to have the query only pull the most current record for that device?

  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
    53,621
    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. Replies: 3
    Last Post: 01-04-2015, 06:09 PM
  2. Replies: 6
    Last Post: 12-29-2014, 04:10 PM
  3. Replies: 3
    Last Post: 09-02-2013, 04:33 PM
  4. Replies: 2
    Last Post: 08-29-2010, 12:30 PM
  5. Query decided it didn't want to be updateable anymore
    By tylerthompson in forum Queries
    Replies: 0
    Last Post: 07-23-2009, 09:43 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