Results 1 to 4 of 4
  1. #1
    Ray67 is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    338

    Crosstab Query Error

    Hello

    I have a form where user would enter date and the report would open. When i click ok on the form i get this error
    Run-Time error 3070
    The Microsoft jet database engine does not recognize [Forms]![F_TransactionsDadReportForm]![servicefrom] as a valid field name or expression.

    This is what i have in my query Criteria Between [Forms]![F_TransactionsDadReportForm]![servicefrom] And [Forms]![F_TransactionsDadReportForm]![serviceto].

    When i click on Debug it takes me to VB DoCmd.OpenReport "R_TransactionsDadReport", acViewPreview. I don't see anything wrong with DoCmd .



    What i'm i doing wrong???


    Thank you

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    The query can't find the referenced controls. Are they in a subform?

    Show the full sql statement of the query.

    Is this issue a duplicate of https://www.accessforums.net/reports...ort-29441.html

    Please don't post duplicate threads on same topic.
    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
    Ray67 is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    338
    Yes it's the same issue.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    I tested your report from the db posted in other thread. It runs after I fixed the report name as described in that thread. Can't replicate this issue.
    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.

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

Similar Threads

  1. Crosstab query
    By Deutz in forum Queries
    Replies: 8
    Last Post: 01-08-2013, 03:37 PM
  2. Crosstab Query
    By jones in forum Queries
    Replies: 4
    Last Post: 09-05-2012, 06:31 AM
  3. Crosstab Query
    By BLD21 in forum Queries
    Replies: 2
    Last Post: 09-12-2011, 11:58 AM
  4. Crosstab Query Help
    By ksmith in forum Programming
    Replies: 7
    Last Post: 12-01-2010, 07:00 AM
  5. Replies: 1
    Last Post: 07-30-2010, 10:28 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