General information
Category:
Coding, syntax & commands
> are you by any chance trying to delete a temporary or
> index file that does not exist when you first run the
> report? after running it once, the temp files/index
> would then exist to be deleted when you run the report!
I'm not trying to delete anything. All I do is issue the command
"report form (lcRptName) to printer prompt noconsole", where lcRptName holds
the name of the report file to run. I've used the debug window, and lcRptName
gets the correct value; it just can't find the report on the first try. The
second time, it finds it.
Although... the reports do run from Views, which create a cursor. Maybe the
view isn't opened the first time the report is run, but the second?
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only