Design Question

A

apu

Hello,

I have started the design for a new project where financial advisors can
store the customer info.
The problem is , there have to be stored about 100> different information
for each
customer , arranged in about 20 categories. some categories have like one or
two answers,
but some can have more.

For example questions about jobs, IRA, wishes and goals, properties,
investing, ...

I have thought to put those categories with several possible answers in
seperate tables, but
what to do with those categories where I can have only one or two answers?


regards, alex
 
A

Armen Stein

Hello,

I have started the design for a new project where financial advisors can
store the customer info.
The problem is , there have to be stored about 100> different information
for each
customer , arranged in about 20 categories. some categories have like one or
two answers,
but some can have more.

For example questions about jobs, IRA, wishes and goals, properties,
investing, ...

I have thought to put those categories with several possible answers in
seperate tables, but
what to do with those categories where I can have only one or two answers?


regards, alex

Hi Alex,

This sort of requirement often needs a flexible "Attribute" database
design. The advantage is that you can add new types of information
without changing your database structure. The disadvantage is that it
is more difficult to do special editing or calculations on the attribute
values - they are usually just text, although sometimes people store
both a text and a numeric field for each AttributeValue. For specific
values that you may do calculations on (e.g. AnnualIncome,
RetirementAge), you may want to store them in the Customer table
instead.

-- tblCategory
CategoryKey
CategoryName "Employment", "Wishes"

-- tblAttribute
AttributeKey
CategoryKey
AttributeName "Current Employer", "Desired Retirement Age"

-- tblAttributeValue
AttributeValueKey
CustomerKey
AttributeValue "Microsoft", "65"


Hope this helps,

--
Armen Stein
Access 2003 VBA Programmer's Reference
http://www.amazon.com/exec/obidos/ASIN/0764559036/jstreettech-20
J Street Technology, Inc.
Armen _@_ JStreetTech _._ com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top