+ Reply to Thread
Results 1 to 3 of 3

the Microsoft access database engine does not recognize " as a valid field name

  1. #1
    Forum Contributor
    Join Date
    12-28-2015
    Location
    US
    MS-Off Ver
    365
    Posts
    133

    the Microsoft access database engine does not recognize " as a valid field name

    Hello,

    I read through many threads regarding this topic but cannot seem to resolve this issue. When a crosstab query that has a parameter set seems to bug out when you try to then create a query off of it.

    Sample db attached.

    steps: open Form1, set to "Monday", RUN query 2

    additionally, sometimes I even receive a circular reference error when trying to use query 2. is there something related to this that causes that too?



    thanks!
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,860

    Re: the Microsoft access database engine does not recognize " as a valid field name

    If I ignore your combo box and start your query 2 and when the parameter shows up insert "*" then the Query runs and shows all data. I believe that your query needs to be filtered if you are only to show data for your parameter. I believe this is necessary because your SQL statement includes fields beyond what is showing for Monday and you need to filter those out. I do not work with CrossTab Queries so this is the best I can do for you. See if this link helps

    http://allenbrowne.com/ser-67.html
    Last edited by alansidman; 09-19-2021 at 11:04 PM.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    12-28-2015
    Location
    US
    MS-Off Ver
    365
    Posts
    133

    Re: the Microsoft access database engine does not recognize " as a valid field name

    thanks!
    that helped.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 06-06-2020, 01:19 AM
  2. [SOLVED] Microsoft office 14.0 access database engine object library
    By ColemanJames in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-12-2017, 01:00 PM
  3. Replies: 2
    Last Post: 07-09-2015, 08:34 AM
  4. Replies: 9
    Last Post: 05-22-2012, 08:59 AM
  5. Replies: 0
    Last Post: 03-28-2012, 11:24 AM
  6. Importing data from Access database to Excel. Dont want headers/"field names".
    By Treenigheden in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-02-2012, 08:35 AM
  7. [SOLVED] Microsoft Access database
    By Tracy in forum Excel General
    Replies: 2
    Last Post: 08-06-2005, 01:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1