Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    Well we will try to not wind you up.
    That makes me think you read "armature".


    honestly I don't understand what everyone had suggested.
    You didn't understand that the cause of the issue you first posted about is that your code contained one too many ending parentheses as well as dots/periods inside of [brackets.] ?
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  2. #17
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    If the field and table names were correct in your original post, then one of the codes I produces should work.
    Perhaps you can post a picture of the query in the query designer, and we can possibly see what the issue is?

    And despite the forum name - I prefer the He pronoun
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  3. #18
    djclinton15 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Nov 2015
    Posts
    123
    Here's the SQL which has Minty's first suggestion: FirstLetter: Left$([Artists_Names],1)

    SQL:
    SELECT Artists_Names_Similar_Artists_tbl.ASA_ID, Artists_Names_Similar_Artists_tbl.DUP, Artists_Names_Similar_Artists_tbl.DyEvn, Left$([Artists_Names],1) AS FirstLetter, Artists_Names_Similar_Artists_tbl.Artist_Names, Artists_Names_Similar_Artists_tbl.[SAID/DUP], Artists_Names_Similar_Artists_tbl.SimilarArtistsID , Artists_Names_Similar_Artists_tbl.[DUP (S/A)], Artists_Names_Similar_Artists_tbl.[S/A\ArtistID], Artists_Names_Similar_Artists_tbl.[#S/AID]FROM Artists_Names_Similar_Artists_tbl;

    Will also provide dbs.
    Attached Files Attached Files

  4. #19
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    You cannot even supply the correct table?

    Code:
    SELECT Left([SimilarArtistsID],1) AS Expr1, ArtistsID_Similar_Artists_tbl.SimilarArtistsID
    FROM ArtistsID_Similar_Artists_tbl;
    Your code
    Code:
    SELECT Artists_Names_Similar_Artists_tbl.ASA_ID AS Expr1, Artists_Names_Similar_Artists_tbl.DUP AS Expr2, Artists_Names_Similar_Artists_tbl.DyEvn AS Expr3, Left([Artists_Names],1) AS FirstLetter, Artists_Names_Similar_Artists_tbl.Artist_Names AS Expr4, Artists_Names_Similar_Artists_tbl.[SAID/DUP] AS Expr5, Artists_Names_Similar_Artists_tbl.SimilarArtistsID AS Expr6, Artists_Names_Similar_Artists_tbl.[DUP (S/A)] AS Expr7, Artists_Names_Similar_Artists_tbl.[S/A\ArtistID] AS Expr8, Artists_Names_Similar_Artists_tbl.[#S/AID] AS Expr9
    FROM Artists_Names_Similar_Artists_tbl;
    Attached Thumbnails Attached Thumbnails Left.JPG  
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. first letter capitalized
    By spvsandy in forum Forms
    Replies: 3
    Last Post: 04-20-2019, 03:11 PM
  2. Add 1 to a letter
    By Gina Maylone in forum Access
    Replies: 5
    Last Post: 03-14-2017, 08:20 PM
  3. Report as Letter
    By blue_echo in forum Reports
    Replies: 1
    Last Post: 04-13-2016, 02:11 PM
  4. Replies: 4
    Last Post: 09-18-2012, 05:07 AM
  5. From letter from a report
    By LANCE in forum Reports
    Replies: 4
    Last Post: 07-04-2009, 09:32 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