[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]]
==== AMV Question (AREV Specific) ====
=== At 26 SEP 2002 02:34:10PM Dave Berkovsky wrote: ===
{{tag>"AREV Specific"}}
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)=1
OR
WC_AMV_VARS%=1
WC_RESET%=3
Can 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.
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=016D3DC25785337185256C4000660166|View this thread on the forum...]]