以下是引用田野在2002-6-9 0:25:13的发言:
主窗体有几个文本框,把文本框作为条件输入口,有时要重新设置条件,我是用比较笨的办法,请教好的语句。谢谢
Private Sub Command45_Click()
凭证号.SetFocus
凭证号.Text = " "
物料名称.SetFocus
物料名称.Text = " "
物料编号.SetFocus
物料编号.Text = " "
日期.SetFocus
日期.Text = " "
仓库.SetFocus
仓库.Text = " "
供应商.SetFocus
供应商.Text = " "
凭证号.SetFocus
End Sub
[em01]
欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) | Powered by Discuz! X3.3 |