June 10, 200916 yr 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!
June 10, 200916 yr Author 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!
Create an account or sign in to comment