Results 1 to 3 of 3
  1. #1
    djclinton15 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Nov 2015
    Posts
    123

    Trouble linking queries

    Hi, I could have sworn I posted this thread on Jan-1. I'm having trouble linking 3-qrys based on, 'FirstLettter'. On my main qry which has several fields, which is successfully linked to a second qry based on the 'ArtistsID' fld. The second qry has 3-fds: 'FirstLetter' 'ArtistsID' & 'CountOfAlbmnsCDS' flds. From this second qry I tried creating/linking a thrid qry which contains 2fld, 'FirstLetter' & 'CountOfArtissID' (per FirstLetter') When I tried linking the second qry to the third qry on 'FirstLetter' it's not letting me & is giving me a Message, "Data type mismatch in criteria expression.". I've created other similar queries which counts data (per FirstLetter), but this query is hanging me up. Will provide dbs if anyone interested to analyze. Please open query, "Music_Library_FL_CountOfArtistsID_qry." I can imagine my thread is confusing.




    Any advise/suggestions will be greatly appreciated! Thanks in advanced.
    Attached Files Attached Files

  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,972
    I opened that query. It references only one query and that query simply references a table with a calculated field for the FirstLetter.

    What queries are you trying to join?

    Record 513 of Music_Library shows #Error because ArtistsID 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
    djclinton15 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Nov 2015
    Posts
    123
    Hi June! First, thanks for responding to my thread! A second eye is always good. If you might follow, that Record, 513 being null was hindering/stopping me from creating another query off of the "Music_Library_FL_CountOfArtistsID_qry." Once I deleted that 513 Null Record I then was able to create a third query with just the 'FirstLetter' & the 'CountOfArtistsID & joined with the, "Music_Library_FL_CountOfArtistsID_qry.". It's not you, just confusing because I know the dbs. Anyway, thanks again!

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

Similar Threads

  1. Trouble importing/linking dbase file
    By MarshaPav in forum Import/Export Data
    Replies: 3
    Last Post: 12-12-2013, 12:59 PM
  2. Trouble linking records
    By kruseanderson in forum Access
    Replies: 9
    Last Post: 04-16-2013, 06:12 PM
  3. Working with Queris
    By BorisGomel in forum Access
    Replies: 1
    Last Post: 01-13-2012, 03:15 PM
  4. Replies: 0
    Last Post: 03-04-2011, 10:28 AM
  5. Trouble linking a table to a query
    By wtubell in forum Queries
    Replies: 1
    Last Post: 03-26-2009, 06:34 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