Roz Clarke
roz.clarke at donnslaw.co.uk
Wed Mar 30 06:58:31 CST 2005
I can't think of any very elegant way of doing it :/ I think I would just add a SpouseID field to your workers table and link to the spouse's record. To avoid duplicating children you would then have to make sure to add the spouse first, then run a routine to identify whether the spouse record has child records, and if so, disable the ability to add children, instead offer to display them (with the spouse's record as parent so that new ones can be added there). -----Original Message----- From: Ervin Brindza [mailto:viner at eunet.yu] Sent: 30 March 2005 13:46 To: AccessD at databaseadvisors.com Subject: [AccessD] Match the spouse Cross posted Hi, I have to modify the design of my human resources database (workers in the factory) to add a feature to match the spouse if the spouse works here too. And it would be great too to avoid duplicationg the kids records, which are in separate table in one to many relation with the main table. Are there any suggestions? Many TIA, Ervin -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses...