Information générale
Catégorie:
Codage, syntaxe et commandes
> 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?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement