>Brenda,
>
>Create your program that creates the cursor or table. In the report, add a title band if the report doesn't already have one. Then double-click on the title band and you will get a dialog box that allows you to run a program on entering the title band, which only happens once for the report. If you have to do any cleanup, add a summary band and choose the "on exit" to place the call to your program to clean up.
>
>I use this all the time to add extra functions to eports where I don't have the source ode to the programs.
>
Bill,
hehe...
That sure is better than the workaround I came up with for her. I didn't know you could put expressions there (or at the group level, for that matter).
So she has 2 straightforward options...your method, or putting code in the one of the dataenvironment methods, as proposed by Nadya.
thanks for sharing,
Steve Gibson