Newbies snuggster Posted January 18, 2002 Newbies Posted January 18, 2002 i have a cloth inventory file im working on, and we need to report consignment to our suppliers, but i need to find only the pieces the lay within the first day(sunday) of the third week in the previous month to the last day(saturday) in the second week of the current month. confusion help me! -Snuggster [ January 18, 2002: Message edited by: snuggster ]
Garry Claridge Posted January 19, 2002 Posted January 19, 2002 Here are two calculated fields I have used to find the first day (Sun) of the third week of the current month. first_day: DayofWeek(Date(Month(Today),1,Year(Today))) start_day: Date(Month(Today),(8 - first_day + 8),Year(Today)) You can expand on these to give your exact requirements. Then you can use these calculations in a script for finding the required records. All the best. Garry [ January 18, 2002: Message edited by: Garry Claridge ]
Recommended Posts
This topic is 8348 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now