Results 1 to 2 of 2
  1. #1
    mlcohenaz is offline Novice
    Windows Vista Access 2007
    Join Date
    May 2010
    Posts
    1

    CrossTab query works intermittently

    I use Access 2007

    I'm trying to get a cross-tab query to show data that pertains to a form it resides in. I have an ID number on the form and in the query, and reference the ID number from the form in the WHERE clause of the ID field in the query.

    It works sometimes, and then if I close the database and re-open it, it does not work. When it does not work, it produces a "Enter Parameter Value" dialogue box, indicating that it cannot find the referenced field in the form. How can I fix or get around this?

    Thanks.

  2. #2
    SoftwareMatters is offline Access VBA Developers
    Windows XP Access 2003
    Join Date
    Mar 2009
    Location
    Dorset
    Posts
    274
    If the query does reference a field on a form then it will only run if said form is open.

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

Similar Threads

  1. crosstab query criteria
    By Sharron in forum Queries
    Replies: 3
    Last Post: 12-15-2011, 04:31 AM
  2. Query - Crosstab ?
    By rob4465 in forum Access
    Replies: 1
    Last Post: 01-28-2010, 08:41 AM
  3. Parameter in Crosstab Query
    By RandyG in forum Queries
    Replies: 4
    Last Post: 09-30-2009, 06:40 AM
  4. crosstab query calculation
    By rutica in forum Queries
    Replies: 2
    Last Post: 04-28-2009, 09:52 AM
  5. Criteria in Crosstab Query
    By wasim_sono in forum Queries
    Replies: 1
    Last Post: 12-12-2006, 05:14 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