hi.
I've got a form with a subform. The subform contains company information. The NotInList event is set to open up the Company form in order for you input the company details. It then requeries the combo and finds the information you just entered, and applies it to the fields.
However, when I enter a name, then delete it, it comes up to say
'You tried to assign the Null value to a variable that isn't a variant type'.
I have tried to put if null etc in the NotInList section but it doesn't help.
Any ideas?
Thanks.
HW
I've got a form with a subform. The subform contains company information. The NotInList event is set to open up the Company form in order for you input the company details. It then requeries the combo and finds the information you just entered, and applies it to the fields.
However, when I enter a name, then delete it, it comes up to say
'You tried to assign the Null value to a variable that isn't a variant type'.
I have tried to put if null etc in the NotInList section but it doesn't help.
Any ideas?
Thanks.
HW