David:
I found a solution for you...
Put the following in the DataEnvironment's Init() method. If the DataEnvironment does not initialize, then the report doesn't run.
if not dodefault()
return .f.
endif
locate
if eof()
messagebox("Nothing to report")
return .f.
endif
--Brad