I'm trying to give the user the ability to update a combo box to null if they no longer want a value from the combo box on the main table.
It's the INSERT statement that doesn't like the two single quotes next to themselves ('') as a value for the combo box id on the main table, the text boxes except the two single quotes just fine.
Any way around this?
Code:
varSalespersonID = IIf(IsNull(Me.cboSalesPerson.Column(0)) = True, "", Me.cboSalesPerson.Column(0))
It's the INSERT statement that doesn't like the two single quotes next to themselves ('') as a value for the combo box id on the main table, the text boxes except the two single quotes just fine.
Any way around this?