Hi
Can someone help with the following? If the solution involves code can you please be explicit as my coding skills are not great!
Basically I have a form which creates events based on two other tables – locations and service provider, the table creates a service event.
The combo box which allows the user to select the location works fine until the following scenario occurs:
Where I search for a location – which I do by typing in the address into the combo box (this is a good way to search for the record I need). But if the address is not in the combo box (locations table) I then delete the text that I have input into the combo (as I am then going to have to go back to the locations table to create the record). Then when I try to move the cursor off of the combo box I am told that I cannot have a null value.
I can understand why this is happening : I have effectively created a null value due to typing in the combo box when searching, but I don’t know how to get round this. There is a help message box which tells me about creating a DIM variant but as I say, my VBA is not the best and I really need some guidance.
Any help would be greatly appreciated.
Can someone help with the following? If the solution involves code can you please be explicit as my coding skills are not great!
Basically I have a form which creates events based on two other tables – locations and service provider, the table creates a service event.
The combo box which allows the user to select the location works fine until the following scenario occurs:
Where I search for a location – which I do by typing in the address into the combo box (this is a good way to search for the record I need). But if the address is not in the combo box (locations table) I then delete the text that I have input into the combo (as I am then going to have to go back to the locations table to create the record). Then when I try to move the cursor off of the combo box I am told that I cannot have a null value.
I can understand why this is happening : I have effectively created a null value due to typing in the combo box when searching, but I don’t know how to get round this. There is a help message box which tells me about creating a DIM variant but as I say, my VBA is not the best and I really need some guidance.
Any help would be greatly appreciated.