Your db has linked tables but you didn't include them. If you include that file I'll add it to the same folder and relink them and alter the code accordingly. Or to reiterate the prior instructions (and if intAvailabilityID is in fact a number field):
- open in design view the table that contains the field you want to default to zero in the form.
- set its default property to 0 (will affect new records only). Save and close table.
- open new query in design, add this table, change query from "select" type to" update query" and add that table field
- in the update to: row, enter 0
- in criteria for that field enter = Null
run it and open your table and check if the records that had no entry now contain zeros.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.