Raschelle Posted June 10, 2009 Posted June 10, 2009 Hi, I'd like to set up in a script where it will enter the date range for the current month as part of the Find portion of the script (FM 9). I have it partly figured out but, of course, the ending day is where I'm stuck at. This i what I came up with, so far: Set Field [TimeSheets Current::Date; Month ( Get ( CurrentDate ) ) & "/" & "1" & "..." & Month ( Get ( CurrentDate ) ) & "/" & "30"] Obviously, the beginning is easy, because every month starts with 1, but every month doesn't end with 30. What can I put in place of the "30" so that, based on what the current month is, the range will include all the days for the month? Help is definitely appreciated. Thank you!
bcooney Posted June 10, 2009 Posted June 10, 2009 Just enter * for the days, it'll find all days in that month.
Raschelle Posted June 10, 2009 Author Posted June 10, 2009 Gee....I've got to stop making things harder than they should be. That should've been a no brainer. lol...oh well. Thanks for the help!
Recommended Posts
This topic is 5643 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