Results 1 to 3 of 3
  1. #1
    raytackettsells is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2012
    Posts
    27

    SubReport Created from query which is LIKE all User names on report

    I have a report created from query 1 - in this query I am pulling to pieces of information for the report.

    Between [Reports]![Query1]![Text21] And [Reports]![Query1]![Text20]



    I also need the query for the subreport which is QUERY2 to pull only the users from QUERY1 report I am a novice but tried:

    Between Reports!query1!username AND reports!query1!username

    Any idea on how I can use the between paramaters for the date (text21/text20) and also have the subreport look at query1 report showing only information for the usernames displayed? As always the help on here is extremely prompt and great! Thanks in advance for the assistance or guidance to where to find it!

    Raymond

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    BETWEEN AND won't work.

    Try something like:

    SELECT * FROM sometable WHERE userID IN Query1
    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
    raytackettsells is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2012
    Posts
    27
    Quote Originally Posted by June7 View Post
    BETWEEN AND won't work.

    Try something like:

    SELECT * FROM sometable WHERE userID IN Query1
    complete amateur so i will attempt to go research how select queries work. thanks

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

Similar Threads

  1. Replies: 1
    Last Post: 04-15-2013, 10:02 AM
  2. Report And Subreport multiple user inputs
    By JGrots in forum Reports
    Replies: 16
    Last Post: 01-29-2013, 01:58 PM
  3. User friendly complex names
    By MatrixRage in forum Database Design
    Replies: 1
    Last Post: 08-10-2010, 09:41 AM
  4. User created Hyperlink
    By kaylachris in forum Forms
    Replies: 3
    Last Post: 05-17-2010, 02:40 PM
  5. Setting up User names and passwords
    By knightjp in forum Security
    Replies: 2
    Last Post: 02-05-2009, 10:18 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