So I've played with this for a while and I'm obviously doing something wrong, but I can't figure out what it is. Here are some screen shots showing the issue:
So here I'm adding an ingredient that isn't in the list.

Here's the code that got me here:
Code:
Private Sub Ingredient_NotInList(NewData As String, Response As Integer) Dim ButtonClicked
ButtonClicked = MsgBox("This ingredient isn't in the list. Do you want to add """ & NewData & """ to the list?", vbYesNo)
If ButtonClicked = vbNo Then
'Cancel the edit.
Ingredient.Undo
'Tell Access not to show the error message.
Response = acDataErrContinue
Else
'Tell Access not to show the error message.
Response = acDataErrContinue
'Open the AddIngredient form.
DoCmd.OpenForm "AddIngredient", , , , , acDialog, NewData
'Now, that the new ingredient has been added to the ingredients table,
'cancel the edit to refresh the list.
Ingredient.Undo
'Refresh the list.
Ingredient.Requery
'Find the new Ingredient.
Ingredient = DLookup("IngredientID", "Ingredients", "Ingredient = '" & NewDate & "'")
'Refresh the Ingredient
End If
End Sub
Next, after responding "Yes" the AddIngredient form opens and already has "aaww" in the ingredient field.

After clidking the "save and close form" button the AddIngredient form closes and the new ingredient is in the list.

After selecting "aaww" from the list I tab to the next fields and add a quantity and unit. But once I tab out of the Comments field I get the following:

At this point this is what is in the Ingredients table:

When I select help from the error message this is what it says: You tried to perform an operation that would have violated referential integrity rules for related tables. For example, this error occurs if you try to change or insert a record in the "many" table in a one-to-many relationship, and that record does not have a related record in the table on the "one" side.If you want to add or change the record, first add a record to the "one" table that contains the same value for the matching field.
However, in my case I am trying to add a record to the "one" side. (I would show the relationships, but I'm only allowed five attachments to a post.)
I'm really stuck on this.