Results 1 to 6 of 6
  1. #1
    kaim is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2015
    Location
    Georgia
    Posts
    8

    trying to create a report or query.

    Trying to figure out a way to run a report or query on a unique identifier number and have it pull any similar numbers on a different column

    EX

    5 some information some information If linked to another record insert number
    6 some information some information If linked to another record insert number
    7 some information some information If linked to another record insert number 6



    i want to be able to if they have a 6 in column a and a 6 in column c to pull into a report with all of the other information from the table...

    Is this possible and if so how do i go about doing it?

    thanks,
    Kai M.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    Why would 6 be in multiple columns? Need better understanding of data structure. Provide sample raw data and desired output.

    If you want to provide db for analysis, follow instructions at bottom of my post.
    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
    kaim is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2015
    Location
    Georgia
    Posts
    8
    Quote Originally Posted by June7 View Post
    Why would 6 be in multiple columns? Need better understanding of data structure. Provide sample raw data and desired output.

    If you want to provide db for analysis, follow instructions at bottom of my post.
    Attached is the database. if you look at the main database table there is 2 records. i want the unique identifier number and the Previous record if mached to show up in a query or report with all of the other information so i can track how long a particular machine was down if it spans days or multi shifts..
    Attached Files Attached Files

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    Oh crud! This is web database.

    Pulling values from another record can be done with:

    1. nested subquery, review http://allenbrowne.com/subquery-01.html#AnotherRecord

    2. self-joining table

    3. domain aggregate functions
    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
    kaim is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2015
    Location
    Georgia
    Posts
    8
    Quote Originally Posted by June7 View Post
    Oh crud! This is web database.

    Pulling values from another record can be done with:

    1. nested subquery, review http://allenbrowne.com/subquery-01.html#AnotherRecord

    2. self-joining table

    3. domain aggregate functions
    This was going to be attached to a sharepoint page but i found out that you must have the enterprise version of sharepoint to be able to do this and we only have the free version...

    Would it be better if i recreated this into a "non Web" database?

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    I've never used one but have edited some posted to forum. Is harder to edit objects that are set up as web type. You have the tables set as web type but the form is not so maybe won't have issues. But really, if not going to be a web database, why have anything set as web type and invite possible issues?
    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: 1
    Last Post: 04-01-2015, 09:45 AM
  2. Replies: 7
    Last Post: 01-16-2014, 09:17 AM
  3. Replies: 5
    Last Post: 06-19-2013, 10:24 AM
  4. Replies: 1
    Last Post: 10-22-2012, 05:52 PM
  5. Create CrossTable Query report
    By ysrini in forum Reports
    Replies: 1
    Last Post: 02-19-2010, 11:20 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