用模式窗口,模式窗口打开后 不要X掉,将其Visible设为false
访问其控件值之后 关闭。
Forms("产品选择窗口").Show()MessageBox.Show(Forms("产品选择窗口").Controls("产品").Text)Forms("产品选择窗口").Close()
产品选择窗口
不要提供左上角的关闭按钮,双击选择产品之后
将其BaseFrom设为False
Forms("产品选择窗口").BaseForm.visible = false