Chris,
Are you running this from a form that contains a grid? If so, setfocus() off of the grid before running the report.
>I'm having a frustrating problem with one of my reports.
>
>It's an Orders-LineItems type report that never seems to print the LineItems correctly. Sometimes I get just one lineitem, sometimes it repeats several times, and every once in a while, it prints correctly. Once, I previewed the report, and everything was correct. When I printed that one, the results weren't the same as the preview.
>
>I would believe that something is changing the current alias, but I can't find *HOW*. I've semi-proven this by including ALIAS() in the page header and the detail band, and seen it both the same and different. I've tried selecting the alias before starting the print routine, and in the report's dataenvironment.
>
< SNIP >
>
Steve Gibson