PC Review


Reply
Thread Tools Rate Thread

can i make composite attributes in access

 
 
abhinav2002
Guest
Posts: n/a
 
      10th Jul 2009

is there a way to make a composite attribute in access like a relational
database. That means can i have some attributes as subattributes of an
attribute.
e.g. there can be a column for address which may have sub-columns like
street, city, state etc. which may be referenced, say, by using a dot
operator or something. (just like as it is done in sql)
 
Reply With Quote
 
 
 
 
vanderghast
Guest
Posts: n/a
 
      10th Jul 2009

In relationnal database, normalization rule zero is that a field must be
atomic, must have just one value. If you need to tie other stuff, then the
RECORD, with its primary key, can be seen as an 'attribute' and each of its
FIELD can match what you described here as a sub-attribute.


Vanderghast, Access MVP


"abhinav2002" <(E-Mail Removed)> wrote in message
news:F34F1889-3CB0-4A24-B553-(E-Mail Removed)...
> is there a way to make a composite attribute in access like a relational
> database. That means can i have some attributes as subattributes of an
> attribute.
> e.g. there can be a column for address which may have sub-columns like
> street, city, state etc. which may be referenced, say, by using a dot
> operator or something. (just like as it is done in sql)


 
Reply With Quote
 
abhinav2002
Guest
Posts: n/a
 
      10th Jul 2009


> In relationnal database, normalization rule zero is that a field must be
> atomic, must have just one value. If you need to tie other stuff, then the
> RECORD, with its primary key, can be seen as an 'attribute' and each of its
> FIELD can match what you described here as a sub-attribute.



thanks...
(you are right ... but i know this)
Actually I wanted to know that how is this done in Microsoft Access
(preferably 2003 if it makes a difference).
btw thanks again..
 
Reply With Quote
 
vanderghast
Guest
Posts: n/a
 
      10th Jul 2009

You can do it by making a new table in a one to one relation to your main
table, if you don't want to touch to your main table.

A one to one relation just impose a LIMIT of AT MOST one record in the child
table. It would be more convenient to call it a : one to (zero or one)
relation.

Vanderghast, Access MVP

"abhinav2002" <(E-Mail Removed)> wrote in message
news:B5CCB0DE-95C3-4A6A-84E2-(E-Mail Removed)...
>
>> In relationnal database, normalization rule zero is that a field must be
>> atomic, must have just one value. If you need to tie other stuff, then
>> the
>> RECORD, with its primary key, can be seen as an 'attribute' and each of
>> its
>> FIELD can match what you described here as a sub-attribute.

>
>
> thanks...
> (you are right ... but i know this)
> Actually I wanted to know that how is this done in Microsoft Access
> (preferably 2003 if it makes a difference).
> btw thanks again..


 
Reply With Quote
 
abhinav2002
Guest
Posts: n/a
 
      10th Jul 2009
> You can do it by making a new table in a one to one relation to your main
> table, if you don't want to touch to your main table.
>
> A one to one relation just impose a LIMIT of AT MOST one record in the child
> table. It would be more convenient to call it a : one to (zero or one)
> relation.



Thanks mate..... i guess that should solve my purpose.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Members of a Composite Control in Code Behind Jim Microsoft C# .NET 0 12th Apr 2005 07:42 PM
How to create Composite keys in an ACCESS table Thelma McCoy Microsoft Access Database Table Design 3 25th May 2004 03:50 AM
Composite control with dynamic composite controls sleigh Microsoft ASP .NET 1 12th Feb 2004 06:24 PM
Make Attributes active in WinExplorer by default Steve Windows XP Customization 1 15th Oct 2003 03:56 AM
make hidden attributes viewable Fletcher Microsoft Windows 2000 Active Directory 1 9th Oct 2003 10:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:07 PM.