Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alias not found in the report.
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00603792
Message ID:
00604611
Views:
28
Igor,

>Using MM 6.1.2 template for reports, created a few, everything fine except one report. It rather complicated report but I don't have a problem to run it without template. With a template I am using Do Setx first and then preiview and I have an error "Alias MYALIAS NOT FOUND", all capital letters if it matters. I change a code in the Init method of the DataEnvironment like it suppose to be by book, did it few times. Recreated DataEnvironment a few times.The view is there, I can browse it, no problem.

First of all, make sure you can instantiate the report data environment outside the context of the report. In the Command Window, enter the following (replacing the text in angled brackets with the name of your data environment class).

DO Setx
x = create("")

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform