找不到变量
运行的时候提示{找不到变量“房主编号 ”},房主编号是整型的,name=txt房主编号,是表2的,以下是代码:if this.caption='修改'
this.caption='保存'
thisform.Txt编号.enabled=.t.
thisform.Txt租售.enabled=.t.
thisform.Txt地址.enabled=.t.
thisform.Txt面积.enabled=.t.
thisform.Txt格局.enabled=.t.
thisform.Txt楼层.enabled=.t.
thisform.Txt房龄.enabled=.t.
thisform.Txt光线.enabled=.t.
thisform.edt备注.enabled=.t.
thisform.Txt水气.enabled=.t.
thisform.Txt代理日期.enabled=.t.
thisform.Txt房主编号.enabled=.t.
thisform.Txt姓名.enabled=.t.
thisform.Txt电话.enabled=.t.
thisform.Txt住址.enabled=.t.
thisform.Txt房价.enabled=.t.
thisform.Txt房租.enabled=.t.
thisform.txt编号.setfocus
else
repl 编号 with alltrim(thisform.Txt编号.value),;
地址 with alltrim(thisform.Txt地址.value),面积 with alltrim(thisform.Txt面积.value),;
格局 with alltrim(thisform.Txt格局.value),楼层 with alltrim(thisform.Txt楼层.value),;
房龄 with alltrim(thisform.Txt房龄.value),光线 with alltrim(thisform.Txt光线.value),;
备注 with alltrim(thisform.edt备注.value),水气 with val(thisform.Txt水气.value);
代理日期 with alltrim(thisform.Txt代理日期.value),租售 with alltrim(thisform.Txt租售.value),;
房主编号 with alltrim(thisform.Txt房主编号.value),;
姓名 with alltrim(thisform.Txt姓名.value),电话 with alltrim(thisform.Txt电话.value),;
住址 with alltrim(thisform.Txt住址.value),房价 with alltrim(thisform.Txt房价.value),;
房租 with alltrim(thisform.Txt房租.value)
this.caption='修改'
thisform.Txt编号.enabled=.f.
thisform.Txt租售.enabled=.f.
thisform.Txt地址.enabled=.f.
thisform.Txt面积.enabled=.f.
thisform.Txt格局.enabled=.f.
thisform.Txt楼层.enabled=.f.
thisform.Txt房龄.enabled=.f.
thisform.Txt光线.enabled=.f.
thisform.edt备注.enabled=.f.
thisform.Txt水气.enabled=.f.
thisform.Txt代理日期.enabled=.f.
thisform.Txt房主编号.enabled=.f.
thisform.Txt姓名.enabled=.f.
thisform.Txt电话.enabled=.f.
thisform.Txt住址.enabled=.f.
thisform.Txt房价.enabled=.f.
thisform.Txt房租.enabled=.f.
endif
请问错误出现在哪里?