20.12.2015, 11:11
Explanation of the error: A value is missing when a new row to be inserted does not contain a value for a non-NULL column that has no explicit DEFAULT clause in its definition.
So, the field Ammo1 is set to not NULL, and you need to insert a value.
You can one of three things:
-Set a default value for that field in your DBMS (empty string ("") or 0)
-Change the field to allow NULL
-Set the sql-mode in my.ini to NO_ENGINE_SUBSTITUTION (but it's better to choose one of the above)
So, the field Ammo1 is set to not NULL, and you need to insert a value.
You can one of three things:
-Set a default value for that field in your DBMS (empty string ("") or 0)
-Change the field to allow NULL
-Set the sql-mode in my.ini to NO_ENGINE_SUBSTITUTION (but it's better to choose one of the above)