Results 1 to 6 of 6
  1. #1
    Kirstee is offline Novice
    Windows 10 Access 2016
    Join Date
    Sep 2017
    Posts
    1

    New to Access. Expression question

    Hello everyone,



    I've been working with Access for about a month now and, I'm learning new things everyday. This forums has been a great help to me.

    I'm kind of stumped right now. This question might seem simple enough but for the life of me, I cannot find a resolution to it. Here goes

    I have one table very similar to this below

    tblInstallations
    IDpk userID applicationID TransferLink
    1 5 1 0
    2 6 1 0
    3 7 2 2
    4 8 1 1

    I created a split form which displays the datasheet on bottom.
    Is there a way to only display the records that match in ID and TransferLink? So the output would look like this:

    ID userID applicationID TransferLink
    2 6 1 2
    1 5 1 1
    Only shows the records that have matching value in ID and TransferLink.

    This seems like it should be easy, I just cant figure it out.

    Thanks in advance for any help.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    You may get some ideas from this thread and sample database.
    It may be applicable, but you know your data and requirements. It doesn't use split form as such, but emulates same quite effectively.
    Good luck.

  3. #3
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,511
    So you only want to show a record if the ID value is anywhere in the TransferLink column? If there is more then one match you want to show all of them?

  4. #4
    Nikhil.bbz is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Sep 2017
    Posts
    2
    select IDpk,userid,applicationid,transferlinkid
    from tblinstalation where
    idpk=transferlinkid

  5. #5
    Nikhil.bbz is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Sep 2017
    Posts
    2
    if any other problem please contact on 18662172188

  6. #6
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,511
    Using Query Designer, create a query with only transferlinkid field, use Totals/Groupby to get unique values, save query.
    Create 2nd query, include table above and new query you just created. Link ID field from table to TransferLinkID field from query. Add first 3 fields(not TransferLinkID) from table and the TransferLinkID field from query to this 2nd query and run it.

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

Similar Threads

  1. Replies: 4
    Last Post: 05-03-2016, 01:51 PM
  2. Replies: 1
    Last Post: 03-19-2014, 12:08 PM
  3. Another simple expression question!
    By brownk in forum Queries
    Replies: 11
    Last Post: 05-25-2012, 12:04 PM
  4. Easy expression question
    By brownk in forum Access
    Replies: 1
    Last Post: 05-18-2012, 04:30 PM
  5. An Expression Builder Question
    By ddkolb in forum Reports
    Replies: 3
    Last Post: 06-03-2011, 04:51 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