I have a customeraddress table that has a [customerID] and a [default] yes/no field.
A customer must have 1 and only 1 default address. But a customer may have zero to many non-default address. Seems like a good place for a table level validation rule. But I can't figure out how to get it to work with a dcount, or dlookup.
I could always write code to validate this on the form, but I would really like to know how to write it in the table if it is possible.
A customer must have 1 and only 1 default address. But a customer may have zero to many non-default address. Seems like a good place for a table level validation rule. But I can't figure out how to get it to work with a dcount, or dlookup.
I could always write code to validate this on the form, but I would really like to know how to write it in the table if it is possible.