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:
00102553
Views:
19
>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.


Yup. That's what was wrong. Next problem...

Now it's saying "Variable 'PARENT' is not found" on line 3: IF NOT lCancelReport

In my now modal form, the OK button has:

vp_stdate = THISFORM.cDateListCombol1.dFromDate
vp_endate = THISFORM.cDateListCombol1.dToDate
lCancelReport = .F.
ThisForm.Release()


Here's my BeforeOpenTables method code:

=DOFORM('ClosingRatiosForm')

IF NOT lCancelReport
*--------------------------------------------
*--- Create the Report Session Environment
*--------------------------------------------
goApp.oReportSessionEnvironment=CREATEOBJECT('CReportSessionEnvironment')
ENDIF
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform