Results 1 to 5 of 5
  1. #1
    redandblack2533 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2012
    Posts
    2

    Optimal Applications List - Difficult Problem

    Hello Everyone-

    I'm a bit of a novice when it comes to Access and I have a bit of a tricky problem that I could use some help with.

    In a particular environmnet, there are approximately 5,000 applicatoins and 120,000 PCs. A given PC could have any mix of applications installed on it (on average a PC has about 100 applications).

    My database is as follows:

    5 fiels: ID # (Primary key), ComputerID, ApplicationID, ApplicationName, ApplicationVersion

    There are approximately 12 million records.

    So, if my PC (ComputerID=99) is one of the 120k in the environemt, and it has 3 applications (Internet Explorer, Outlook, QuickTime) the records for my PC would look something like this:

    ID # ComputerID ApplicationID ApplicationName ApplicationVersion
    1 99 0001 Internet Explorer 1.0
    2 99 0002 Outlook 2.0
    3 99 0003 QuickTime 3.0

    What I need to get is the smallest list of applications that accounts for ALL application installs on 60,000 of the PCs.

    Obviously, ComputerID and ApplicationID are the fields that I need to be working with, but while I can grasp the basic logic of how to solve the problem I'm struggling to leverage Access to apply it.

    Any help would be appreciated.



    Thanks!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Not sure what you mean by 'smallest list of applications'. You want a list of application names that have been installed? Something like:

    SELECT DISTINCT ApplicationName FROM tablename WHERE Not ComputerID Is Null;
    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
    redandblack2533 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2012
    Posts
    2
    So the list that I'm trying to get is one that contains every applicatoin installed on 60,000 of the PCs in the environment.

    Let's call it List A and when every one of a given PC's applications is on List A, then that PCs is "covered".

    Suppose that 5 PCs in the environment only have 1 application installed, Internet Explorer.

    So I could take Internet Explorer and put it on List A, then 5 PCs in the environment would be covered. Certainly IE is installed on other PCs as well, but the rest are not covered because they also have other applications installed besides IE.

    Next, suppose that 10 PCs in environment have only two applications installed, Internet Explorer and Outlook. By adding Outlook to List A, I would now have 15 PCs covered: the original 5 that were covered by only IE, and the additional 10 that are covered by both IE and Outlook.

    I need to repeat this process until I have 60,000 PCs covered. I need for the list to be optimal in that it coveres 60k PCs with the smallest possible list of applications.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    So the list that I'm trying to get is one that contains every applicatoin installed on 60,000 of the PCs in the environment.
    Maybe your requirement is just way over my head because after that, your description makes no sense to me.

    Who manages 120,000 computers? Why are you interested in only 60,000 for this requirement? How do you know which 60,000?

    If the query I suggested does not address this requirement, maybe someone else will have a better understanding and offer idea. Possibly what you want will require VBA.
    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
    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,870
    I have the same basic misunderstanding of your requirement as June7. However,if you consider 3 tables:

    Computer (CompId, Location....other PC info)
    Application(AppId, AppName, AppVersion ..other App specific fields) You may have to separate out Version???
    CompHasApp(CompAppId, CompId(FK), AppID (FK) where CompId +AppId is composite unique index also, and any other specific CompHasApp fields (possibly a RecordDate...)

    Perhaps your query or question comes down to a Count of PCs with X or more applications installed??? Just a guess

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

Similar Threads

  1. Bacode Applications.
    By cap.zadi in forum Reports
    Replies: 10
    Last Post: 12-28-2011, 11:34 AM
  2. Applications.CreateControl
    By msr71 in forum Programming
    Replies: 5
    Last Post: 04-24-2011, 09:01 PM
  3. How to use one DB file in many other DB applications ?
    By cement in forum Database Design
    Replies: 4
    Last Post: 01-01-2011, 05:50 AM
  4. Killing open applications using VBA
    By zippy483 in forum Programming
    Replies: 4
    Last Post: 03-03-2010, 10:04 PM
  5. Difficult problem
    By francisca_carv in forum Access
    Replies: 0
    Last Post: 11-19-2008, 05:50 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