Hmm. Not seeing it. What I'm trying to do is squeeze IDs for wholly dissimilar entities into one table, and use that as a 'dispatcher' to find them all later.
FWIW, here's my thinking: The court clerk is assigning unique Claimant ID numbers to a crowd of Individuals, Corporations (fictional people) and Proxies (representatives), lined up with their forms filled out. Individuals and Proxies show their SSN and people info. Corporations flash their FEIN and business info (two different forms, ID number domains, data structures). The clerk registers each SSN and FEIN to a Claimant ID number, and kumbaya, everyone is now a member of the same claimant pool. Then they go out and tear each other to shreds. So the assistant clerk fills in the table: CLAIMANT - PK - ClaimantID - FK - IndividualID (SSN) ... (links to personal info) - FK - CorporationID (FEIN) ... (links to business info) ... and to ensure that my tribe gets theirs, I code stuff like this: SELECT + BigBucks INTO vPayout INDICATOR vInd + FROM + Estate t1, + LawSuit t2, + ClaimStatus t3, + Claimant t4, + &vEntityTable t5 + WHERE + t1.EstateID=t2.EstateID AND + t2.LawSuitID=t3.LawSuitID AND + t3.ClaimantID=t4.ClaimantID AND + t4.&vEntityID=t5.&vEntityID AND + t5.&vEntityName='MyTribe' ... where vEntityTable, vEntityID and vEntityName switch to the intended sub-table. Does that make sense? And thanks Albert, very much. Bruce -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Albert Berry Sent: Thursday, October 24, 2013 5:38 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: A Schema Logic Question Could you collapse the three "bonus" tables into one with a entity class id? ClaimantID EntityTypeID (I,G,F) FK 3 row table. etc.? Albert On 10/24/2013 5:36 PM, Bruce A. Chitiea wrote: > All: > > Members of three entity classes have lodged claims against an estate > in a > lawsuit: > - Individual Persons > - Investor Groups ('Intervenors') who have purchased the claims of > Individual Persons > - Faceless, Heartless, Greedy, Bloated Bureaucracies > > Data for each of these entities lives in a table unique to its class: > - PERSON > - INTERVENOR > - FHGBB > > I need to 'flatten' class members into a common entity: CLAIMANT > > Would this be a legitimate way to do it in one table, or am I buying > into massive AND/OR logic headaches down the road? > > CLAIMANT > - PK - ClaimantID > - FK - PersonID ... to the PERSON class table > - FK - IntervenorID ... to the INTERVENOR class table > - FK - FHGBBID ... to the FHGBB class table > - FK - ClmntClassID ... to the CLMNTCLASS Lookup table > > Any better way? > > Help! I'm hostage to probate lawyers! (not the most exciting bunch, > lemme tell you). > > Bruce > > >

