Results 1 to 5 of 5
  1. #1
    gint32 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Jan 2015
    Location
    Australia
    Posts
    116

    forms datepicker help

    Hi everyone,


    Sounds simple probably to everyone but me!
    But can anyone show me an example or even explain on how to requery a form based on a date selected from a datepicker, the form I have at the moment already loads and passes todays date (now() as part of the forms existing querys.

    The part I am struggling with is that I can't figure how to change the query to allow for any date selected, whilst keeping the initial it on load to using today date,

    So again, what I need have my date-picker add the selected date to the already built query, so as when I select another date it repopulates the form with the new date selected, whilst initially still keeping loading with today's date ,I've tried setting default value to today's date in the text field, but don't know what else i should do.

    Many thanks in advance for any suggestions

  2. #2
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    I posted an example here using a replacement to the date picker control. Very simple to implement
    https://www.access-programmers.co.uk...d.php?t=298062
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  3. #3
    moke123's Avatar
    moke123 is offline Me.Dirty=True
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,879
    I'll 2nd Colin's recommendation. Its not only easy to implement, its easy to modify to your liking.

  4. #4
    gint32 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Jan 2015
    Location
    Australia
    Posts
    116
    Many thanks for the very useful link, works just fine.

  5. #5
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    You're welcome. I use it frequently in almost all my apps
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

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

Similar Threads

  1. Access 2013 Datepicker problem
    By jpg250 in forum Forms
    Replies: 3
    Last Post: 09-07-2016, 01:08 PM
  2. DatePicker and Parameter Query
    By dgtampa in forum Forms
    Replies: 3
    Last Post: 05-24-2012, 06:04 PM
  3. DatePicker
    By jle0003 in forum Access
    Replies: 2
    Last Post: 04-04-2012, 04:51 PM
  4. Replies: 1
    Last Post: 07-11-2011, 04:35 AM
  5. ActiveX Control calendar (datepicker)
    By aakann in forum Programming
    Replies: 16
    Last Post: 12-22-2010, 10:33 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