Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resolving undefined variable
Message
From
22/05/2001 09:23:03
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00509828
Message ID:
00509837
Views:
24
>I have a report that uses a memory variable array, which is defines and set in the calling program - Works ok but I get the error:-
>
>Report d:\software\development\traxtrux 2000\reports\subconpo.frx has the following errors:
> Unknown AMAXPRINTNO - Undefined
>
>Any ideas how I can resolve this
>
>Many Thanks
>
>Derek


THis is simply a warning when you compile the application and will not affect functionality. If you want to get rid of the error when building, add the following procedure to the end of your MAIN.PRG
PROCEDURE Dummy

PUBLIC AMaxPrintInfo[1]
You will never call Dummy, so the array will never be defined at PUBLIC. The only purpose of this procedure is to get the compiler to quit complaining.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform