![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am creating a database for an archival collection with a 3-tier Table structure in which any donor might donate multiple discrete Collections, each containing multiple items.: Donors > Collections > Items In many situations I need to distinguish between Donors who are Individuals and Donors who are Organizations, so I have a pair of radio buttons on the Donor layout requiring the DonorEntity to be one or the other. Iım uncertain, though, how best to structure the main main Donorı field itself because individual names and organization names have different structures and behaviors. For instance, for a name, I would be inclined to provide first, middle, last names, while an organization would be a single slot. I suppose I could treat individual names as though they were Company names in a single field here, and add extra fields breaking down the name into three parts for other uses . . . Or I should I have a Company-as-Donor field and three Individual-as-Donor fields that I could concatenate for various textual needs and make use of the Radio button info to draw upon the appropriate fields in various instances? This approach, it seems, might lead to creating a lot of scenarios where I create two very similar layouts to cater to the two values. For instance, in an ³Add a Collection² layout -- in the Donor foreign key field linking the record to the primary keyfield DonorIDı in the Donors table, I would like to use the ³Also display values from a second field² so that the user doesnıt have to consult an ID# list but if I have two possible fields depending on the DonorEntity, I canıt figure out how to have it display the all possible values (I envisioned some sort of ³If² calculation but it wonıt lt me use a calculated field as the second displayfield because it canıt be indexed). So, can anyone offer some guidance or suggestions about managing this Individual/Organization conndrum? I think this must be something that comes up in lots of projects, and beyond this particular Keyfield example, Iım thinking that the approach I select here is going to have a lot of consequences as I develop the database, so I want to be aware of the likely implications and make the right choice from the get-go. Thanks. Albert |
#3
| |||
| |||
|
|
In article <asteg-02CCEE.11083127052007 (AT) news (DOT) west.earthlink.net>, Albert <asteg (AT) mindspring (DOT) com> wrote: I am creating a database for an archival collection with a 3-tier Table structure in which any donor might donate multiple discrete Collections, each containing multiple items.: Donors > Collections > Items In many situations I need to distinguish between Donors who are Individuals and Donors who are Organizations, so I have a pair of radio buttons on the Donor layout requiring the DonorEntity to be one or the other. Iım uncertain, though, how best to structure the main main Donorı field itself because individual names and organization names have different structures and behaviors. For instance, for a name, I would be inclined to provide first, middle, last names, while an organization would be a single slot. I suppose I could treat individual names as though they were Company names in a single field here, and add extra fields breaking down the name into three parts for other uses . . . Or I should I have a Company-as-Donor field and three Individual-as-Donor fields that I could concatenate for various textual needs and make use of the Radio button info to draw upon the appropriate fields in various instances? This approach, it seems, might lead to creating a lot of scenarios where I create two very similar layouts to cater to the two values. For instance, in an ³Add a Collection² layout -- in the Donor foreign key field linking the record to the primary keyfield DonorIDı in the Donors table, I would like to use the ³Also display values from a second field² so that the user doesnıt have to consult an ID# list but if I have two possible fields depending on the DonorEntity, I canıt figure out how to have it display the all possible values (I envisioned some sort of ³If² calculation but it wonıt lt me use a calculated field as the second displayfield because it canıt be indexed). So, can anyone offer some guidance or suggestions about managing this Individual/Organization conndrum? I think this must be something that comes up in lots of projects, and beyond this particular Keyfield example, Iım thinking that the approach I select here is going to have a lot of consequences as I develop the database, so I want to be aware of the likely implications and make the right choice from the get-go. Thanks. Albert Some ideas from my experience: I set up the name fields on the basis of indivduals: NameTitle, NameFirst, NameLast, NameSuffix. When it is a company or organization I enter the name in the NameLast field and leave the other name fields blank. snip |
#4
| |||
| |||
|
|
In article bbcollins-6CD82C.14160427052007 (AT)... uninet.net.mx>, Bill <bbcollins (AT) fake (DOT) net> wrote: In article <asteg-02CCEE.11083127052007 (AT) news (DOT) west.earthlink.net>, Albert <asteg (AT) mindspring (DOT) com> wrote: I am creating a database for an archival collection with a 3-tier Table structure in which any donor might donate multiple discrete Collections, each containing multiple items.: Donors > Collections > Items In many situations I need to distinguish between Donors who are Individuals and Donors who are Organizations, so I have a pair of radio buttons on the Donor layout requiring the DonorEntity to be one or the other. Iım uncertain, though, how best to structure the main main Donorı field itself because individual names and organization names have different structures and behaviors. For instance, for a name, I would be inclined to provide first, middle, last names, while an organization would be a single slot. I suppose I could treat individual names as though they were Company names in a single field here, and add extra fields breaking down the name into three parts for other uses . . . Or I should I have a Company-as-Donor field and three Individual-as-Donor fields that I could concatenate for various textual needs and make use of the Radio button info to draw upon the appropriate fields in various instances? This approach, it seems, might lead to creating a lot of scenarios where I create two very similar layouts to cater to the two values. For instance, in an ³Add a Collection² layout -- in the Donor foreign key field linking the record to the primary keyfield DonorIDı in the Donors table, I would like to use the ³Also display values from a second field² so that the user doesnıt have to consult an ID# list but if I have two possible fields depending on the DonorEntity, I canıt figure out how to have it display the all possible values (I envisioned some sort of ³If² calculation but it wonıt lt me use a calculated field as the second displayfield because it canıt be indexed). So, can anyone offer some guidance or suggestions about managing this Individual/Organization conndrum? I think this must be something that comes up in lots of projects, and beyond this particular Keyfield example, Iım thinking that the approach I select here is going to have a lot of consequences as I develop the database, so I want to be aware of the likely implications and make the right choice from the get-go. Thanks. Albert Some ideas from my experience: I set up the name fields on the basis of indivduals: NameTitle, NameFirst, NameLast, NameSuffix. When it is a company or organization I enter the name in the NameLast field and leave the other name fields blank. snip This may not be a good idea since it means you can't put in a contact name for the organisation. You might be better off adding a proper Organisation Name field and leaving this one blank for individuals. Helpful Harry Hopefully helping harassed humans happily handle handiwork hardships ;o) |
#5
| |||
| |||
|
|
This may not be a good idea since it means you can't put in a contact name for the organisation. You might be better off adding a proper Organisation Name field and leaving this one blank for individuals. I prefer my approach, as it makes the NameLast field the single most significant field for identifying the donor. I would turn Harry's suggestion around and make a separate field to identify the primary contact person in the case of an organization. |
#6
| |||
| |||
|
|
In article bbcollins-00CBE7.21344827052007 (AT)... uninet.net.mx This may not be a good idea since it means you can't put in a contact name for the organisation. You might be better off adding a proper Organisation Name field and leaving this one blank for individuals. I prefer my approach, as it makes the NameLast field the single most significant field for identifying the donor. I would turn Harry's suggestion around and make a separate field to identify the primary contact person in the case of an organization. Thanks for the suggestions. I'm thinking if I tried your suggestion, I could have a second occurence of the 'Last name' field on the layout with a label indicating 'Organization' -- then the user wouldn't have to remember that the org goes in the last name slot, right? Is there a command that would deny access to certain fields if a value is entered in the 'Individual / Orga" field? I'm thinkign it might ben ice if the User clicks a radio button for 'Organization,' the fields with the first name, etc. darken and deny entry..? Also, Bill -- thanks for the name concatenation pointer -- do you not use a field for middle name? I'm defintiely using a portal for the COllection > Items generation, and am weighing whther or not to do the same for Donors > COllection. There was some reaosn yesterday why I was considering this different approach. best, albert |
#7
| |||
| |||
|
|
Look af field validation for an answer to your first question above. You can do validation based on calculation, which would not allow entry in the field depending on the outcome of the calculation. I don't use a separate field for middle name. I simply include middle name with the first name. That is a matter of preference. You might prefer to have a middle name field. |
#8
| |||
| |||
|
|
It came to me over a grilled cheese sandwich! |
![]() |
| Thread Tools | |
| Display Modes | |
| |