M marrett Registered User. Local time Today, 00:35 Joined Sep 8, 2000 Messages 43 Oct 23, 2002 #1 Hi Is there a way to search for a day of the week. I don't care what the date is I just want to check to see if it is a Saturday or sunday. Thanks, Maria
Hi Is there a way to search for a day of the week. I don't care what the date is I just want to check to see if it is a Saturday or sunday. Thanks, Maria
Fuga Registered User. Local time Today, 01:35 Joined Feb 28, 2002 Messages 566 Oct 23, 2002 #2 Yes, you use weekday([yourfield]). This returns an integer representing the day of week. However I don´t remember which is for saturday. Fuga.
Yes, you use weekday([yourfield]). This returns an integer representing the day of week. However I don´t remember which is for saturday. Fuga.
R Rich Guest Oct 23, 2002 #3 You could also use If Me.MyDate =vbSaturday Or vbSunday Then DoSomething
M marrett Registered User. Local time Today, 00:35 Joined Sep 8, 2000 Messages 43 Oct 23, 2002 #4 Weekday Thank, I kew it would be simple. I just could find it. Thanks for your time, Maria