Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prevent View's parms being loaded at form starts
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00160633
Message ID:
00161960
Vues:
23
At that time, your advice worked. Now, the view parameters are being requested once again at startup, page-1.

My dataEnvironment is this:
DEFINE CLASS DepartMaintEnvironment AS Dept_APPEnvironment
FUNCTION LoadCursors()
DIMENSION this.aCursors[1]
this.aCursors[1] = 'v_vdepartment'
ENDFUNC
ENDDEFINE

My viewClass is this:
DEFINE CLASS v_vdepartment AS CDynamicViewCursor
* NoDataOnLoad = .F. && .F. = view contains data.
cCursorSource = 'v_vdepartment'
ENDDEFINE

I have turn “NoDataOnLoad” off and on with no effect.

My postInitHook is this:
DIMENSION This.aViewParameters[1, 2]
This.aViewParameters[1,1] = 'lndepartmentID'
This.aViewParameters[1,2] = '0' && 'v_vdepartment.department_id'

I would appreciate any suggestions.

Thanks…
Melvin…
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform