Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error in report form when compiling a project
Message
De
10/07/1997 19:24:56
Jon Ziegler
Mannesmann Dematic Corp.
Solon, Ohio, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00039322
Message ID:
00039367
Vues:
30
>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
Fil
Voir

Click here to load this message in the networking platform