I have an insert query that adds a new row directly to a table. The query is triggered by code behind an "add new record" form.
One of the fields in the new record that the query is adding to the table is a date field. The insert query works perfectly so long as the new record that is inserted has data in the date field. But if the insert query has no data in the date field, the query bombs.
At the table, the date field is not specified as a required field, so I don't understand why the query bombs if the new record it is adding has an empty date field. Any ideas how to fix it so that the query does not bomb if the date field is empty?
Thanks,
Jack
One of the fields in the new record that the query is adding to the table is a date field. The insert query works perfectly so long as the new record that is inserted has data in the date field. But if the insert query has no data in the date field, the query bombs.
At the table, the date field is not specified as a required field, so I don't understand why the query bombs if the new record it is adding has an empty date field. Any ideas how to fix it so that the query does not bomb if the date field is empty?
Thanks,
Jack