Create a query using the Recipes table and the Food Categories table.
Sort by the RecipeName column.
Save this query with the name Search.
Use this query to build a continuous form that shows recipe names.
You can hide the fields for RecipeID and FoodCategoryID.
Open the new form in design view and put a combo in the header.
Name the combo as cboFind
Give it 2 columns, make the first column hidden.
Use a query based on the Food Categories table for the row source of the
combo.
Put the FoodCategoryID as the first column of the query.
On the After Update event of the combo, put code like this
If Len(Me.cboFind) >0 Then
With Me.RecordsetClone
.FindFirst "[FoodCategoryID] = " & Me.cboFind
If Not .NoMatch Then
.Bookmark = Me.Bookmar,
End If
End With
End If
Post back if there is not enough detail in the above.
Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
Recipe questions said:
I can enter my recipe's but cannot pull them up in any of the catagories.
i.e. I want to pull up only dessert recipe's.