Dan,
Your variable oReport is probably going out of scope.
Create a property on your form, or appliation object. Then the report will stick around until the form or application object goes away.
The code would look like:
Thisform.oReport = Createobject("crystal.....)
etc..
Thanks
Rod
Rod Paddock
Editor in Chief CoDe Magazine
President Dash Point Software, Inc.
VP Red Matrix Technologies,Inc.