Create incremental Number in SUBFORM if requested by "radio field" in the same subform record
Hi
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:
if (input.SUBFORM_NAME.RADIO_FIELD == "Increment required")
{
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