Private Sub 送货单号_BeforeUpdate(Cancel As Integer)
Dim rs As Object
Set rs = Me.Recordset.Clone
If Not IsNull(DLookup("[类别ID] & [送货单号]", "[送货单表]", "[类别ID]=form.[类别ID] and [送货单号]=Form.[送货单号]")) Then
MsgBox ("送货单重复!!!")
Me.Combo6 = DLookup("[车牌号]", "送货单表", "[类别ID]=form.[类别ID] and [送货单号]=Form.[送货单号]") '这里提示出了问题