Information générale
Catégorie:
The Mere Mortals Framework
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement