Results 1 to 4 of 4
  1. #1
    accessmatt is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    199

    2 questions on input parameters

    Is there a way to use a parameter in a CrossTab query? I get a 3070 error when I use it here, however it works fine on a regular query.



    http://office.microsoft.com/en-us/ac...080761289.aspx

    Also, is it possible to use a range in a query parameter (i.e. all dates between this range). If so, how?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,522
    You already have your answer: the parameters must be declared in the parameters box. Maybe this will also help:

    http://allenbrowne.com/ser-67.html
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    accessmatt is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    199
    This is great - thank you for that link!

    Quote Originally Posted by accessmatt View Post
    Is there a way to use a parameter in a CrossTab query? I get a 3070 error when I use it here, however it works fine on a regular query.

    http://office.microsoft.com/en-us/ac...080761289.aspx

    Also, is it possible to use a range in a query parameter (i.e. all dates between this range). If so, how?

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,522
    Happy to help!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Requery input parameters syntax?
    By hinsdale1 in forum Forms
    Replies: 15
    Last Post: 05-01-2013, 11:56 PM
  2. input parameters
    By jassie in forum Access
    Replies: 1
    Last Post: 01-29-2012, 05:40 PM
  3. Replies: 2
    Last Post: 08-01-2011, 09:40 AM
  4. DISPLAY INPUT PARAMETERS ON THE REPORT
    By fadone in forum Forms
    Replies: 1
    Last Post: 12-09-2005, 10:26 PM
  5. Input parameters
    By GloriaLuz in forum Reports
    Replies: 0
    Last Post: 11-14-2005, 09:38 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