Hi Bruce-
I wish that would work. That would be an elegant solution. The problem is that the template is tracking the first field in the form. In the GenerateForm routine, the following code normally is generated:
if loc:retrying
p_web.SetValue('SelectField',clip(loc:formname) & '.' & p_web.GetValue('retryfield'))
Elsif p_web.IfExistsValue('Select_btn')
Else
If False
Else
p_web.SetValue('SelectField',clip(loc:formname) & '.loc:FName')
End
End
The highlighted code is not generated in the example I described (I have no enter-able fields). The other issue is that I can't insert my own code there.
Thanks,
Gordon