T
tuesamlarry
Have a form (sfrmFamilyMembers) which is used to enter the names and
attributes of people belonging to a household which has been given a ClientID
pk. Form fields include ClientID, MemberID, LastName, FirstName,
RelationToClient. Relations include "Self", "son", "daughter", "mother",
"friend", etc. There can be multiple sons, daughters, but only 1 Self,
father, mother, etc. I want to prevent the user entering more than 1 Self,
mother, etc. What is the best way to go about this. I created a DCount method
on a query filtering for SELF and placed it in the BeforeUpdate property of
the relation field. My query works standalone but haven't been able to get it
to work in VBA behind the form. Thank you for your advice.
Access 2007
attributes of people belonging to a household which has been given a ClientID
pk. Form fields include ClientID, MemberID, LastName, FirstName,
RelationToClient. Relations include "Self", "son", "daughter", "mother",
"friend", etc. There can be multiple sons, daughters, but only 1 Self,
father, mother, etc. I want to prevent the user entering more than 1 Self,
mother, etc. What is the best way to go about this. I created a DCount method
on a query filtering for SELF and placed it in the BeforeUpdate property of
the relation field. My query works standalone but haven't been able to get it
to work in VBA behind the form. Thank you for your advice.
Access 2007