We use a lot of incremental numbers around our application for various things, however, I haven't had much experience with placing them in subforms on success of the parent form. This is what I've tried to write so far, and it comes up with errors:
{
x = MaxValueHolder [ID != 0];
input.SUBFORM_NAME.SUBFORM_FIELD = (x.highestval + 1);
x.highestval = (x.highestval + 1);
}
ERROR: expects = on line 16
I'm sure its simple, but I'm not too sure