Results 1 to 2 of 2
  1. #1
    Karyn is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    13

    Access inserting a space in a memo field

    I like to store SQL code as a memo field in a table. I then use a form to collect selection criteria from the user, and this is used to create a 'WHERE' clause which is then appended to the stored SQL. This has always worked, but in one recent case the SQL failed. On examination I discovered that although the SQL is correctly stored in the memo field, when Access retrieves the code it inserts a space character in the middle of one of the words, thereby of course creating an invalid SQL string. It's easy to work around it, but does anyone know why this happens? A bug in Access?

  2. #2
    CJ_London is online now VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,845
    unlikely to be a bug - perhaps you have inadvertently typed a hidden character which is being converted to a space - suggest deleting the characters either side and retype

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

Similar Threads

  1. Replies: 10
    Last Post: 03-04-2015, 01:32 PM
  2. Replies: 9
    Last Post: 07-21-2014, 11:57 AM
  3. Replies: 5
    Last Post: 01-30-2014, 10:55 AM
  4. How to Export Access memo field 87,000 bytes
    By JosmithTwo in forum Import/Export Data
    Replies: 3
    Last Post: 08-10-2012, 02:16 PM
  5. Excel Import field truncation problem (to Access Memo field)
    By jhrBanker in forum Import/Export Data
    Replies: 6
    Last Post: 07-27-2012, 08:52 AM

Tags for this Thread

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