>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