Consultor Eletrônico



Kbase P43968: How to validate only those fields that a user modified in a
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   29/09/2003
Status: Unverified

FACT(s) (Environment):

Dynamics 2.0A

SYMPTOM(s):

SmartDataObject has all fields from a given table in it and has pre* validation against all fields

SmartDataViewer has subset of the SmartDataObject fields on it

CAUSE:

Validation flags fields as not filled out, however, these fields do not exist on the SmartDataViewer so the user cannot enter data for them. How to get around this?

FIX:

Use the <buffer>.changedFields field on the server side of the SDO to determine what fields the user changed and only test those fields.