Results 1 to 3 of 3
  1. #1
    ctolva is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2019
    Posts
    3

    displaying a combobox to a record item in the list when initially loaded

    I have a combobox that selects the dates of seminars from a table. This list contains future seminar dates as well as past seminar dates.


    I wish to position the data displayed in the combobox to the closest date in the list to today's current date.
    The combobox uses a select statement for the Row Source
    I believe the VBA code is Me!cmbDate.Selected(x) = true where "X" variable is the row that is closest to today's date.

  2. #2
    ctolva is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2019
    Posts
    3
    Sorry, had a typo should read = true

  3. #3
    ctolva is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2019
    Posts
    3
    I think maybe getting the record position and then refreshing form?

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

Similar Threads

  1. ComboBox and displaying record source?
    By aellistechsupport in forum Forms
    Replies: 30
    Last Post: 06-10-2017, 04:52 PM
  2. Combobox 'Item Not In List' problem
    By DubCap01 in forum Forms
    Replies: 1
    Last Post: 02-01-2017, 02:28 AM
  3. Replies: 1
    Last Post: 02-01-2015, 12:16 AM
  4. Replies: 1
    Last Post: 04-21-2014, 11:29 AM
  5. Replies: 5
    Last Post: 10-16-2012, 12:22 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