Results 1 to 3 of 3
  1. #1
    malaphasis is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2014
    Posts
    1

    start date and end date in form control subform results

    I have two calendar pickers for a start and end date and want them to control the results of a subform to only display selected results.

    thanks in advance

  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,630
    What is the issue? What have you done to achieve the goal you stated? What is not working? Is the subform linked to dataset of main form?

    Options:

    1. dynamic parameterized query as form RecordSource (I never use dynamic parameterized queries)

    2. VBA code to set form Filter and FilterOn properties
    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
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    the sub form needs to be told when to requery; it doesn't auto update upon a change of date .... the AfterUpdate event of the date fields is one place - or have a command button just for that purpose....

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

Similar Threads

  1. Replies: 12
    Last Post: 01-23-2014, 03:24 PM
  2. Replies: 5
    Last Post: 06-23-2012, 10:30 PM
  3. Replies: 15
    Last Post: 04-06-2012, 10:57 AM
  4. Replies: 1
    Last Post: 07-07-2010, 04:22 PM
  5. Replies: 1
    Last Post: 12-09-2005, 10:29 PM

Tags for this Thread

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