B
babs
Below is the code I have attached to the after update event of a combo box-
basically filling in fields when a quoteid is selected- however the [pit]
field may be null and that's okay but it is giving me an error see subject
above and taking me into the VB code to debug how can I say its okay to be
empty with the code below???
If [cbquoteid] <> 0 Then [cost] = Me.cbquoteid.Column(3): [ClientId] =
Me.cbquoteid.Column(2): [Pit] = Me.cbquoteid.Column(5): [Divisor] =
Me.cbquoteid.Column(10): [GrossWeight] = Me.cbquoteid.Column(11): [Markup] =
Me.cbquoteid.Column(6): [OverallMarkup] = Me.cbquoteid.Column(4):
[CartageRate] = Me.cbquoteid.Column(13): [FuelperRate] =
Me.cbquoteid.Column(14): [Comments] = Me.cbquoteid.Column(15): [Taxex] =
Me.cbquoteid.Column(12): [zone] = Me.cbquoteid.Column(17)
thanks,
Barb
basically filling in fields when a quoteid is selected- however the [pit]
field may be null and that's okay but it is giving me an error see subject
above and taking me into the VB code to debug how can I say its okay to be
empty with the code below???
If [cbquoteid] <> 0 Then [cost] = Me.cbquoteid.Column(3): [ClientId] =
Me.cbquoteid.Column(2): [Pit] = Me.cbquoteid.Column(5): [Divisor] =
Me.cbquoteid.Column(10): [GrossWeight] = Me.cbquoteid.Column(11): [Markup] =
Me.cbquoteid.Column(6): [OverallMarkup] = Me.cbquoteid.Column(4):
[CartageRate] = Me.cbquoteid.Column(13): [FuelperRate] =
Me.cbquoteid.Column(14): [Comments] = Me.cbquoteid.Column(15): [Taxex] =
Me.cbquoteid.Column(12): [zone] = Me.cbquoteid.Column(17)
thanks,
Barb