Private Sub 相应子窗体名_Current()
On Error Resume Next
If InStr(ming, me.产品名称) > 0 Then
Else
ming = ming & " " & me.产品名称
End If
Forms("主窗体名").x ...
koutx 发表于 2009-2-22 22:34
Private Sub Form_Current()
Me.Parent.Text6 = Me.订货单
Me.Parent.Text8 = Me.存货名称
Me.Parent.Text9 = Me.生产数量
End Sub
Henry D. Sy 发表于 2009-2-26 07:34
Private ming As String
Private Sub 相应子窗体名_Current()
On Error Resume Next
If InStr(ming, me.产品名称) > 0 Then
Else
ming = ming & " " & me.产品名称
End If
Forms("主窗体名").xianshi.value = ming
End Sub
效果有点似,但有点问题
我已重传例子,望指教。