sele * from where table to 的用法,该怎么处理

sele * from where table to 的用法
一个表单,其中有两个文本框,我想在文本框一中录入学号,文本框二中自动填充姓名,表stu.dbf.
比如在文本框一中输入“000111”
是否可以用“sele 姓名 from stu.dbf wher 学号=allt(thisform.text1.value) to aa
  thisform.text2.value=aa"
大概就是这么个意思,可是我用不来这个,怎么才能把对应的姓名填充到文本框二中,求教各位了!

------解决方案--------------------
Select 姓名 Into Cursor T1 From stu.Dbf Where Alltrim(学号)=Alltrim(Thisform.Text1.Value)
Thisform.Text2.Value=T1.姓名