1、打开窗口之前,记录窗口对象
vars("表") = e.Table
Forms("窗口1").show
2、选择返回的代码改成
vars("表").Current("商品名称") = e.Table.Current("商品名称") 'e.Row("商品名称")