dating...

yessir

Saved By Grace
Local time
Today, 03:44
Joined
May 29, 2003
Messages
349
i have searched about dates, and checked other access sites by reference of others, and unfortunately i am here to ask help.

does anyone know of a module, set of table, code, link to any of the like, for the processing of dates to fill in cbo's properly based on month (ie correct days based on month and if leap year or not)

thanks

InDebeted
 
ok

i have a combobox for month, day, year respectively

each are populated from a table.'

If i choose the month as feb, there should only be 28 days avail. unless it is a leap year.

as well 30 days has september, april june and november, all the rest have 31....

along this line, i was wondering about code, a module, or something that would do these checks

thanks
 
Code:
If Not IsDate(DateSerial(Me.cboYear, Me.cboMonth, Me.CboDay)) Then
    MsgBox "Not a valid date.", vbExclamation, "Example"
End If
 

Users who are viewing this thread

Back
Top Bottom