On some of our forms we have a button that we call "Insert previous" to insert what was filled out the last time the form was used. I've been working on a form that is all document variables due to speed issues and the size of the form. Is there any way I can populate the variables with the previous entries somehow?
action button…
RUNPROCESS...
DOCUMENT.variable = LAST_SIGNED_OBS_VALUE("obs term")
action button...
SETVALUES...
LAST_SIGNED_OBS_VALUE("obs term") in the drop-down next to the field you want filled.
Neither of those work. I already tried the SETVALUES since that's what I use on the forms where I do use obs terms.
For the RUNPROCESS all I put was:
DOCUMENT.TREE1 = LAST_SIGNED_OBS_VALUE("ZUNGANXQ5")
But when I click the button nothing happens. It seems like I need to write that variable value to the obs term before it would display the last signed obs…
{OBSNOW("ZUNGANXQ5", DOCUMENT.TREE1)} in the code panel.
jjordet said:
{OBSNOW("ZUNGANXQ5", DOCUMENT.TREE1)} in the code panel.
Winner winner, chicken dinner! That worked, thanks!