在窗体中加入三个文本框,Text1、Text2、Text3
在窗体的当前事件中加入如下代码:(由于本人无权上传附件,只好贴上代码供参考)
Private Sub Form_Current()
Dim i As Integer
Dim SP
SP = Split(Me.供应商_ID.Column(1), ",")
For i = 0 To UBound(SP, 1)
SP(i) = SP(i)
Next
Me.Text1 = SP(0)
Me.Text2 = SP(1)
Me.Text3 = SP(2)
End Sub
file:///C:/Documents%20and%20Settings/cgy.CAOGUANGYAO/Application%20Data/Tencent/Users/451595724/QQ/WinTemp/RichOle/N)6F%ML${9X11]_0ZBHA`YX.jpg