Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Nesting Error
Message
 
To
01/11/2004 09:39:07
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00956527
Message ID:
00957026
Views:
22
This error can happen when code in a report tries to run a report. For example, if there is any expression that calls a UDF -- and the UDF runs a report -- you end up with a nesting error.

Try previewing the report from the report designer and after the error pops up, the offending object should appear. If you can't run from the designer because your code sets up tables and/or cursor or other information, try this tip ...

Change the line of code in your program that says REPORT FORM ... to MODIFY REPORT .... Then run your app as usual and instead of the report running, the designer pops up. Then you can pick preview from the designer and see if you can narrow down which object is causing the problem.

Cathy





>I am getting 'Report contains a nesting error' for some reason. The fields on my report contain some concatenation but no IIF statements and no code in the dataenviornment. Any ideas? This is happening on a sporatic bases.
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform