Versions des environnements
>An application deployed at customer's site throws an "Invalid Path or Filename" error when attempting to preview or print a report. Except that report was compiled into the EXE. Other customers are not reporting the same error. The line of code is:
>
>REPORT FORM (lc_reportname) to printer &lc_printersel. preview noconsole ; && GreyHawk - 20080701 - add printer selection for preview
> WINDOW (Lo_RepForm.NAME)
>
>Where lc_printersel contains 'prompt' (or empty, depending on customer settings).
>
>Chris.
Have you checked where the program is being installed for those customers who have reported the problem? Is the program installed on a local or network drive? Does the user that is running the program have permission to read the particular file? I'd seen similar sort of problem when user was using Novell Netware server and they'd set the "copy inhibit" attribute on the EXE file.
I'd run into peculiar problems once before where the default "everyone" identity was removed from the security profile of the share -- this resulted in peculiar behavior where program would act as various files didn't exist on the shared folder. Restoring the identity to the share fixed most of the weirdness.
Do you have a situation where the REPORT FORM command is being executed from a program file that is external to the EXE? (e.g. you have a MAIN.EXE that calls a SUB1.APP, and the REPORT FORM command is executed within the context of the SUB1.APP program).
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