Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report error
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Miscellaneous
Thread ID:
00102343
Message ID:
00102524
Views:
17
Paul,

>I'm trying to create a report that has an associated form. I've created the form, created the report (basically followed the whole section on creating reports). When I run the report, I get the following error:
>
>In the method:
>
>ocnavtoolbar.cmdfirst.setenabled
>
>Line:
>
>lcMenuBars = SUBSTR(lcMenuBars, lnLength + 1)
>
>Error:
>
>"Cannot access characters beyond string"

You are getting an error in the toolbar logic which indicates that you are probably using a non-modal form as your "view parameter form" (non-modal forms have their cToolbar property empty by default). You need to use a modal form class instead. Check the section "Creating the View Parameter Input Form" in the Mere Mortals Developer's Guide for details.

> I've got the feeling this might be a problem relating to some include file not being loaded, but I don't know that for sure. Actually, I've been having a lot of unexplained problems with this entire project. I thought I had them all fixed though.

If you have any other specific questions, let us know.

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