VPME 9.1 FIX: cNotBlankFields property

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

VPME 9.1 FIX: cNotBlankFields property

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

VPME 9.1 FIX: The fields list in the cNotBlankFields property is not respected on a one-to-many form

Applies to: VPM Enterprise 9.1, VPM Enterprise 9.1.01, VPM Enterprise 9.1.02

Symptoms: On a one-to-many form the fields list in the property cNotBlankFields is not respected,
with fields that are specified in the property being able to be saved when empty.

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

Change:

slnSaveStatus = ThisForm.oVPMDataHandler.SaveRecord(ALIAS(),,slcAdditionalAliases,;
ThisForm.cRulesID,ThisForm.lNoNewAuditTrail,ThisForm.lNoChangeAuditTrail)

To:

slnSaveStatus = ThisForm.oVPMDataHandler.SaveRecord(ALIAS(),,slcAdditionalAliases,;
ThisForm.cRulesID,ThisForm.lNoNewAuditTrail,ThisForm.lNoChangeAuditTrail,,;
ThisForm.cNotBlankFields)
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 1 guest

cron