Is the name field text? If so, you need to enclose the value in single quotes, ie:
VB Code:
  1. cr1.SelectionFormula = "{studdeta.name }= '" & Text1.Text & "'"