This error most commonly occurs when you or the program has attempted to add, delete or modify a field in any way with null data when a valid value was required.
Solution
Follow the debugging steps below to help troubleshoot this error.
1.
Determine what you last attempted to do within the program. Were you importing orders? Adding a customer? etc.
2.
Click [Debug] on the error message dialog box.
If you do not have the option to debug, click Ok, Cancel or End.
Next hit CTRL+Shift+B to turn on "break mode."
Finally try to recreate the error.
3.
The debugger will open the Microsoft Visual Basic editor and highlight the line of code which is throwing the error.
At this point, common sense may be able to advise you what exactly it is that is causing the error. Go back to the source of the problem and correct the mistake.