Results 1 to 3 of 3
  1. #1
    d-mcc56 is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2014
    Posts
    16

    Query won't reference a form

    Hey all.

    I'm trying to get my query to reference a form (frmCCC) but instead it prompts me.
    In the criteria for one of the fields I have type "Between form!frmCCC!txtStartDate and form!frmCCC!txtEndDate.
    To my knowledge it should open up the form but instead it prompts me to input twice with respective labels form!frmCCC!txtStartDate and form!frmCCC!txtEndDate.


    I read somewhere that this occurs if the form isn't loaded, I've tried opening the form before running the query but still nothing.

    Any help?

    Thanks

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    its FORMS!frmCCC!txtStaraDAte

    always use the BUILDER. (the magic wand icon) it will spell things correctly.

  3. #3
    d-mcc56 is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2014
    Posts
    16
    Ah I'm embarrassed. I changed it and now it tells me the expression is too complex to be evaluated

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

Similar Threads

  1. Replies: 3
    Last Post: 07-11-2014, 08:24 AM
  2. Reference query results in a Main Form
    By Mischief1 in forum Forms
    Replies: 10
    Last Post: 04-02-2013, 01:03 PM
  3. Replies: 1
    Last Post: 03-23-2012, 12:15 PM
  4. Reference to a query from a form does not work
    By giladweil in forum Access
    Replies: 3
    Last Post: 02-28-2011, 06:38 AM
  5. Reference to a Query
    By starhannes in forum Forms
    Replies: 5
    Last Post: 05-09-2010, 02:53 PM

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