To find procedures in that date range, do a find on the procedures layout by entering:
1/1/2011...1/31/2011 as criteria in the Procedures::ProcedureDate field.
If the user enters these two dates into these global date fields: gDate1, gDate2, a script could perform this find like this:
Go To Layout [Procedures]
enter find mode  // clear pause check box
Set Field [Procedures::ProcedureDate ; Procedures::gDate1 & "..." & Procedures::gDate2 ]
Set Error capture [on]
Sort [Restore ; no dialog] //need sort to group records by doctor, then by procedure so that sub summary part can show correct counts.
Pleas post back if you have any other questions with how to set this up.