Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Validate [WeekEnd] Date is only a Sunday

Status
Not open for further replies.

plang99

Technical User
Apr 17, 2001
29
US
Validate [WeekEnd] Date is only a Sunday

I put in: = Weekday(1) as Validation Rule for [WeekEnd] on Data Tab and get error message. I used the Expression Builder to make it.

Also tried DatePart("d",[WeekEnd])=1 and that didn't work.

The WeekBegin Date is automatically done AfterUpdate of [WeekEnd].

I tired vbSunday and that didn't work.

I tired Weekday([WeekEnd],1) and that didn't work.

Any Suggestions.
 
Tyrone,

I put it in the AfterUpdate along with code to deduct 6 days for the WeekBegin date and it worked.

Thank you,

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top