Current Week in a query
What is the correct syntax for the current week in this query? I have looked but cannot find it var text THISWEEK ="{8.EX.'CURRENT WEEK'} AND {17.EX.'6'} AND {7.EX.'Regular Hours'}; ------------------------------ Hans Hamm ------------------------------22Views0likes15CommentsQuery to find all records that have a date field in the same month
Can anyone help me figure out how to query to find all the records that have a certain date field that's in the same month (and year)? This is what we have, and it's correct for April, but then it's doing a backwards running total, so March is including April and March. Feb is including Feb, March and April. Thank you! var text query ="{48.OAF.'"&FirstDayOfMonth( [date field] )&"'} OR {48.OAB.'"&LastDayOfMonth ( [date field] )&"'} "; Size(GetRecords($query)) BTW - I tried using "AND" instead of "OR," but that returned a number of 1 or 0 usually, when it should be more like 10-30. Thanks again! ------------------------------ Amber Gartner ------------------------------32Views0likes2Comments