I have a memory form with two string entry fields. When the first field has data entered and is tabbed out of I run code in the "Add Server Side Code" embed. The code validates the string and if all is okay it clears the field and is supposed to reselect the same field. This is the code:
TechSale_PartNumber = ''
p_web.SetSessionValue('TechSale_PartNumber','')
p_web.SetValue('SelectField',Clip(loc:formname) & '.TechSale_PartNumber')
The field is clearing just fine but the field is not being reselected - the 2nd field, placed after the first field, is being selected.
What am I doing wrong?
NT 7.18
Chuck