Re: Cross-ref IDs and de-dupe

Tech-Archive recommends: Fix windows errors by optimizing your registry



=?Utf-8?B?UGVuZHJhZ29u?= <Pendragon@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
news:FEF14E7B-5ACF-49F0-9B77-5570EAD99390@xxxxxxxxxxxxx:



Label #1:
John Smith & Jane Smith
123 First Street
etc.

Label #2:
Jane Smith & John Smith
123 First Street
etc.

The classic solution would be to have a new table of Labels; each Member
record (actually, shouldn't that be Registrations? Still I digress...)
would have a FK field pointing at the Labels. Most Label records would
have only one Member record pointing at each of them, but some would have
two or more. The UI design is left as a problem for the reader..!

The "quick and dirty" solution would be to have a FK field in the Member
record called UsesLabelFor pointing at another Member record. In this
case, you would have to decide which of John or Jane is first on the
label, and his or her record would have UsesLabelFor set to NULL, while
the other record would contain the other's PersonID value.

The SQL for the first one is not easy: you do need some procedural logic
(i.e. VBA) to make the ampersand-separated list but at least it's easy to
get the database to watch out for illegal values. The problem with the
second version is that if you fill in UsesLabelFor fields for both
partners (or create a chain) then you will likely lose labels altogether
and the database engine cannot come to your rescue.

Best of luck


Tim F

.



Relevant Pages

  • Re: Names and address list in Excel-mail merge to Word for labels
    ... Word MVP web site http://word.mvps.org ... I have the Block Address selected which would make the label ... John Smith and Mary Jones ... These labels as well as John and Mary Smith (when spouse has same ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Names and address list in Excel-mail merge to Word for labels
    ... The field code formula below will accomodate the 3 name variations you ... Different Surname "John Smith & Mary Jones" ... the label is coming out "The Smith Family". ...
    (microsoft.public.word.mailmerge.fields)
  • Re: name field not displayed as matched
    ... As Charles implies, if your data source is correct, your label merge ... Word MVP web site http://word.mvps.org ... instead of the Mr. John Smith. ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Write Panels innerText
    ... Thanks, again, Greg. ... Never thought of using a Label. ... do you take a name like JANE SMITH when entered by the user and convert it ... > A panel can contain other controls, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: The Worst Beer
    ... The only thing that kept John Smith in business was a reading ... People saw the familiar Anchor and saw "Tadcaster" on the ... label and thought it was a Sam Smith beer. ...
    (rec.music.makers.guitar.acoustic)