Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error in report form when compiling a project
Message
From
10/07/1997 19:24:56
Jon Ziegler
Mannesmann Dematic Corp.
Solon, Ohio, United States
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00039322
Message ID:
00039367
Views:
33
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform