Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Divers
Thread ID:
00102343
Message ID:
00102553
Vues:
20
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform