AMV Question (AREV Specific)
At 26 SEP 2002 02:34:10PM Dave Berkovsky wrote:
Hi,
I am faced with problem trying to limit amv depth programmatically
based on what was entered in one of the window fields.
Here what I have tried so far:
$INSERT SYSINCLUDE,WINDOW_COMMON%
$INSERT SYSINCLUDE,LCPOSITIONS
$INSERT SYSINCLUDE,WINDOW.CONSTANTS
DEP.MAX=Maximum depth for associated multi-value prompt sets.WC_W%(prompt_number)=1OR
WC_AMV_VARS%=1WC_RESET%=3Can get it to work.
TIA
Dave Berkovsky
At 26 SEP 2002 07:42PM Jonathan Bird wrote:
Maybe a simpler approach is to do something like:
MAXIMUM=WHATEVER
if WC_MV% gt MAXIMUM then data ''
return
Place the above code as a pre prompt on the MV field. Group it with itself too.
J
jb@psi.net.nz
At 02 OCT 2002 08:59AM Peter Kassinski wrote:
Have you tested this block?
And what would happen if one insert record between existing rows?
You've settled a situation when user adds record in the end of AMV.