Hammer,
I have read your wonderful article in the current Inside Sesame newsletter. I used your guidelines for "Pick Date Range:

n Element Entry" for a new command button that I made, and when I tested the coding for errors, none were found.
I still needed to program the @PopUpMenu to get the date ranges ("past 7 days," etc.) to work with the command button. I wrote:
If @Add Then Pick date range[the command button label]=
@PopUpMenu("Past 7 days;Past 14 days;Past 30 days;Past 60 days;Past 90 days", "Select a date range")
as the first three lines of the Pick date range:

n Element Entry programming. When I tested it for errors, the parsing module gave me an error:
Statement or End of File expected
var vRange as String (the first line of the coding I borrowed from your article). How is that possible? ???