Aug 28, 2008 #1 hsandwick Programmer Sep 10, 2001 286 US Is it possible to capture data for 2 months ago using "lastfullmonth" in the record selection criteria? I.e., lastfullmonth -1 is what I am trying to achieve. Thank you, Helen
Is it possible to capture data for 2 months ago using "lastfullmonth" in the record selection criteria? I.e., lastfullmonth -1 is what I am trying to achieve. Thank you, Helen
Aug 28, 2008 #2 jdemmi MIS Jun 6, 2001 1,106 US minimum(lastfullmonth) -1 -- Jason "It's Just Ones and Zeros Upvote 0 Downvote
Aug 28, 2008 #3 jdemmi MIS Jun 6, 2001 1,106 US oops...that's only subtracting 1 day... try this dateadd("m", -1, minimum(lastfullmonth)) -- Jason "It's Just Ones and Zeros Upvote 0 Downvote
oops...that's only subtracting 1 day... try this dateadd("m", -1, minimum(lastfullmonth)) -- Jason "It's Just Ones and Zeros
Aug 28, 2008 #4 bdreed35 Programmer Mar 2, 2003 1,549 US Your criteria should look something like this for the month before the last full month: {table.date} in dateadd("m", -1, minimum(lastfullmonth)) to_ minimum(lastfullmonth) The underscore is there by design. ~Brian Upvote 0 Downvote
Your criteria should look something like this for the month before the last full month: {table.date} in dateadd("m", -1, minimum(lastfullmonth)) to_ minimum(lastfullmonth) The underscore is there by design. ~Brian
Aug 28, 2008 Thread starter #5 hsandwick Programmer Sep 10, 2001 286 US jdemmi and bdreed35: Wonderful! Thanks so much for your help. Regards, Helen Upvote 0 Downvote