Results 1 to 3 of 3
  1. #1
    Areteauu is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2014
    Posts
    4

    Question Create query based on multiple selections in form.


    Ok so this query is probably going to be pretty simple but I can not seem to figure it out. Background information needed: There are multiple tables that have a relationship with tblEventLog. Tables include tblCCSD, tblSatellite, tblCCI, and tblEventLog. tblsCCSD, tblCCI, and tblSatellite share a one-to-many relationship with tblEventLog. Information enters the tblEventLog via a form called frmEventLog. I need a query for tbleEventLog that will bring results from one or more fields. So a query that would search based on a date range. I also need the ability to query tblEventLog given a date range and a CCSD, CCI, or Satellite.

    I really hope that makes sense and will be more than willing to give more information if needed.
    Attached Thumbnails Attached Thumbnails relationships.JPG  

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,633
    Primary options:

    1. dynamic parameterized query, review http://datapigtechnologies.com/flash...earchform.html

    2. construct criteria string and set form Filter property, review http://allenbrowne.com/ser-62code.html
    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
    Areteauu is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2014
    Posts
    4
    After a little tweaking to the database I have the query working! Thank you so much!

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

Similar Threads

  1. Replies: 8
    Last Post: 03-21-2014, 04:31 AM
  2. Replies: 4
    Last Post: 08-25-2013, 07:43 AM
  3. Replies: 5
    Last Post: 03-27-2013, 05:10 PM
  4. Replies: 8
    Last Post: 03-19-2012, 08:50 PM
  5. Replies: 1
    Last Post: 03-02-2009, 11:54 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