Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 6th, 2012  |  syntax: None  |  size: 0.20 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Access 2010 Day Combo Box
  2. Me.cboDay.RowSource = "SELECT Number " _
  3. & "FROM MyNumbersTable " _
  4. & "WHERE Number < = " & Day(DateSerial(Me.cboYear,Me.cboMonth+1,0))
  5.        
  6. Day(DateSerial(2012,2+1,0)) = 29