Look at the Control Source of that form (it should be a table or query).
That message usually means one of two things:
1. The Control Source is a Paramater Query (or a Query that uses a Parameter Query);
2. The "ContactID" field does not exist in the Control Source.