Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>We have created a report form that contains arrays. When executed, the report runs as expected. However, when compiling the project into an EXE, we get the error "Report D:\LPM\PROGRAM\DEPTDET.FRX has the following errors: unknown P_PERIOD undefined..." and it goes on to list each different array used in the report form. The arrays are declare and defined in the calling module.
>
>Any ideas?
I'm not sure if this will work, but I've used something like this in a similar situation: try creating dummy .PRG files with the same names as the arrays that are causing the errors. Just put a single-line comment or some non-threatening code into these .PRG files and add them to your project. This can fool the compiler into thinking that those items have been defined, even though the .PRG files themselves are never used. For example, since you had the unknown P_PERIOD, create a program P_PERIOD.PRG and put something like "* P-PERIOD.PRG" as the only text/code in the .PRG.
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