VPME 9.1 FIX: Child grid is empty on a one-to-many form

The place where ProMatrix posts coding tips and fixes. Read only.

VPME 9.1 FIX: Child grid is empty on a one-to-many form

Postby JessicaLawson » Sun Jun 13, 2010 5:30 pm

VPME 9.1 FIX: Child grid is empty on a one-to-many form

Applies to: VPM Enterprise 9.1, VPM Enterprise 9.1.01

Symptoms: On a one-to-many form that uses a table for the parent cursor and a view or cursoradapter
for the child cursor, no records appear in the child grid.

Resolution: Make the following change to the RefreshForm method of the Form_Toolbar_OneToMany class
in VPMForms.vcx.

Change:

IF NOT EMPTY(slcChildAlias) AND ThisForm.oVPMDataHandler.CursorIdentification(ALIAS()) AND ;

To:

IF NOT EMPTY(slcChildAlias) AND ThisForm.oVPMDataHandler.CursorIdentification(slcChildAlias) AND
;
JessicaLawson
 
Posts: 79
Joined: Sun Jun 13, 2010 1:23 pm

Return to ProMatrix Library

Who is online

Users browsing this forum: No registered users and 2 guests

cron