You will have to create a field for the date selection , even if you place them in a dialogue box.
The way I generally do this is to create 2 global date fields called g_date_begin and g_date_end.
The user selects his begin and end dates and executes the script. There is no need to set variables as the global fields are already set. What this also means is that the dates are stored in the global field until they are changed by a new find.
Remember to add a step in your closing script to reset those fields to "".
I'm sure there are other ways but I HTH
Thanks. That is what I figured. I have done that in the past but I was hoping someone had done something a little more elegant. I appreciate your suggestion.
Another option if you really don't want to create new fields is to put your existing Activity Date field into the dialog box and then train your users to enter the date range into that box as "startdate...enddate" (maybe put a reminder into the dialog text about how they should be entering the dates).
Just make sure your script enters find mode before throwing up the dialog box so the user isn't changing the stored data in the activity date field