A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Custom Fields



 
 
Thread Tools Display Modes
  #1  
Old December 8th, 2004, 04:05 PM
nvishnu
external usenet poster
 
Posts: n/a
Default Custom Fields

Hi,

I need to design a model where we need to provide custom fields based on the
customer. E.g; customer A may have 10 contact fields while customer B may
have 5 more additional contact fields. This may be enhanced in future to
other tables in the application and also users may be able to add custom
fields from the application. We currently are an ASP and all of clients
reside on same database. Would there be any implication of doing something
like this (custom fields) with having single database. I assume so. Is it
better in that case to have each customer his own db and a master meta db to
control each one's settings. Any ideas or thoughts is appreciated.

Thanks.

Navin


  #2  
Old December 8th, 2004, 04:19 PM
Rick B
external usenet poster
 
Posts: n/a
Default

This is a classic one-to-many relationship. The "contacts" would need to be
in a new table and they would need to be related to the customer table.

This issue is addressed in this newsgroup all the time.

Rick B


"nvishnu" wrote in message
.. .
Hi,

I need to design a model where we need to provide custom fields based on

the
customer. E.g; customer A may have 10 contact fields while customer B may
have 5 more additional contact fields. This may be enhanced in future to
other tables in the application and also users may be able to add custom
fields from the application. We currently are an ASP and all of clients
reside on same database. Would there be any implication of doing something
like this (custom fields) with having single database. I assume so. Is it
better in that case to have each customer his own db and a master meta db

to
control each one's settings. Any ideas or thoughts is appreciated.

Thanks.

Navin




  #3  
Old December 8th, 2004, 05:49 PM
John Vinson
external usenet poster
 
Posts: n/a
Default

On Wed, 8 Dec 2004 11:05:28 -0500, "nvishnu"
wrote:

Hi,

I need to design a model where we need to provide custom fields based on the
customer. E.g; customer A may have 10 contact fields while customer B may
have 5 more additional contact fields. This may be enhanced in future to
other tables in the application and also users may be able to add custom
fields from the application. We currently are an ASP and all of clients
reside on same database. Would there be any implication of doing something
like this (custom fields) with having single database. I assume so. Is it
better in that case to have each customer his own db and a master meta db to
control each one's settings. Any ideas or thoughts is appreciated.


"Fields are expensive; records are cheap".

Adding new fields for new contacts is not correct relational database
design! You should have two tables in a one to many relationship,
Customers to Contacts. Each contact is a new record, not a new field.

If you mean that the nature of the information stored for a contact is
different - i.e. one customer wants to store the contact's eye color
and shoe size, and the other customer doesn't - then you've got a
different problem, but that's not obvious from what you post. Is that
the case?

John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps
  #4  
Old December 8th, 2004, 06:37 PM
nvishnu
external usenet poster
 
Posts: n/a
Default

Yes thats exactly is the case.

"John Vinson" wrote in message
...
On Wed, 8 Dec 2004 11:05:28 -0500, "nvishnu"
wrote:

Hi,

I need to design a model where we need to provide custom fields based on

the
customer. E.g; customer A may have 10 contact fields while customer B may
have 5 more additional contact fields. This may be enhanced in future to
other tables in the application and also users may be able to add custom
fields from the application. We currently are an ASP and all of clients
reside on same database. Would there be any implication of doing

something
like this (custom fields) with having single database. I assume so. Is it
better in that case to have each customer his own db and a master meta db

to
control each one's settings. Any ideas or thoughts is appreciated.


"Fields are expensive; records are cheap".

Adding new fields for new contacts is not correct relational database
design! You should have two tables in a one to many relationship,
Customers to Contacts. Each contact is a new record, not a new field.

If you mean that the nature of the information stored for a contact is
different - i.e. one customer wants to store the contact's eye color
and shoe size, and the other customer doesn't - then you've got a
different problem, but that's not obvious from what you post. Is that
the case?

John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i update custom fields automatically on opening mackem General Discussion 4 September 21st, 2004 11:26 AM
Filtering on custom date field MED Contacts 3 September 17th, 2004 03:05 PM
Exporting Custom Fields for Outlook Contacts Johnny P. General Discussion 3 August 14th, 2004 11:19 PM
This is a tough one!!!! artman Visio 1 May 27th, 2004 10:16 PM
How do you format custom fields designed for custom contact forms? Debalan Contacts 4 May 19th, 2004 11:54 PM


All times are GMT +1. The time now is 08:49 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.