The WeekDay function returns an Integer representing the Day of the Week for
a given date.
Today is Tuesday, July 17, 2007
So WeekDay(Date,1) will return 3 (Tuesday)
So do something like this, probably in the Form BeforeUpdate event:
If WeekDay(Me.cboLongDate, 1) <> 4 Then
Msgbox "Date selected is not a Wednesday!"
'Take whatever corrective action you want here
End If
Integer Values for Weekdays
1 Sun
2 Mon
3 Tue
4 Wed
5 Thu
6 Fri
7 Sat
WeekDay(Me.cboLongDate, 1)
This assumes that Sunday (1) is the FirstDayOf Week. If this is not true,
substutute the appropriate Integer for the First Day of Week.

Signature
There's ALWAYS more than one way to skin a cat!
Answers/posts based on Access 2000
Douglas J. Steele - 17 Jul 2007 19:05 GMT
It's probably more readable to use the intrinsic constants defined for the
day values (vbSunday, vbMonday, etc.)
In other words,
If WeekDay(Me.cboLongDate, 1) <> vbWednesdau Then
Msgbox "Date selected is not a Wednesday!"
'Take whatever corrective action you want here
End If
is probably a lot more obvious when you go back to read your code weeks
later!

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
> The WeekDay function returns an Integer representing the Day of the Week
> for
[quoted text clipped - 24 lines]
> This assumes that Sunday (1) is the FirstDayOf Week. If this is not true,
> substutute the appropriate Integer for the First Day of Week.