Dawn,
In conventional set up, when composite value for a group
of fields is required to be unique, violation if any, at data entry stage, gets
detected only when the user tries to move to the next record. This can be quite
inconvenient, after the effort spent in making
entries into a large number of controls for the record in question.
My sample db
Forms_CheckReqdAndDuplicates might be of interest to you.
It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com
This db provides instantaneous real
time friendly warning if the data entered in a field (which
belongs to the group of fields whose composite value is required to be
unique) would lead to a violation. The focus stays at the offending
field.
You could adapt the underlying approach suitably, for
your specific needs.
Best wishes,
A.D.Tejpal
--------------
Please zip all files prior to uploading to Files section. YAHOO! GROUPS LINKS
|