Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 11/26/2007 Posts: 116
|
Is there a way to write a Real Code rule to specify day of week, e.g. Monday??
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The following RealCode Rule should work for Monday:
If Price.DateValue.DayOfWeek = 1 Then Pass
You would need to change the 1 to something else for a different day of the week:
1 = Monday
2 = Tuesday
3 = Wednesday
4 = Thursday
5 = Friday
6 = Saturday
7 = Sunday
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 11/26/2007 Posts: 116
|
Bruce,
Thanks very much for this.
I looked quite a bit before posting this question. One place I looked was in Real Code and entering price. , but the pop up box did not and still does not contain the .DateValue option.
It sounds like the lack of documentation is costing the users a lot of time as well as Worden Support.
Jim
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I don't know why it doesn't pop up when you type Price. with all checked, but I learned about DateValue from the RealCode Programmers Reference.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |