我第一个表单的代码:
SELECT hmc01
public AA
AA=ALLTRIM(thisform.text1.value)
LOCATE FOR 姓名=AA
IF FOUND()
DO FORM form\ygxxmx
THISFORM.TEXT1.VALUE=""
ELSE
MESSAGEBOX("没有找到您所要的人员,请重新输入!",48,"系统提示")
THISFORM.TEXT1.VALUE=""
THISFORM.TEXT1.SetFocus
ENDIF
第二个表单的代码
public AA
THISFORM.REFRESH
LOCATE FOR AA=HMC01.姓名
thisform.序号1.enabled= .F.
thisform.工号1.enabled= .F.
thisform.姓名1.enabled= .F.
thisform.性别1.enabled= .F.
thisform.学历_专业_1.enabled= .F.
thisform.部门1.enabled= .F.
thisform.职务1.enabled= .F.
thisform.身份证号码1.enabled= .F.
thisform.进厂日期1.enabled= .F.
thisform.备注1.enabled= .F.
请问是哪里的问题?再次多谢!