Edge User Group Discussion Forum


Non-destructive update
Can it be done? Bob Smucker 04/19/01
Re:Can it be done? Crispin Bates 04/19/01
Yes Bob Smucker 04/20/01

Post new message in this thread


Date: April 19, 2001 04:35 PM
Author: Bob Smucker (bsmucker@prosys.com)
Subject: Can it be done?

Hi fellow Plex deviants,

I need a non-destructive update function, which allows updating all values not previously entered, but refuses to update an existing value.

My strategy is to compare variables A and B, populated by the same view, and update B conditionally. For each field, if empty in B but not in A, set B = A. If A and B have different non-empty values, stop and report an error.

I can do it with brute force, one lousy field at a time, but I don't see any way to do it with meta code. And I have about 60 fields.