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  

Access



 
 
Thread Tools Display Modes
  #1  
Old October 22nd, 2008, 04:52 PM posted to microsoft.public.access.tablesdbdesign
CiCi
external usenet poster
 
Posts: 1
Default Access

I created a table with a few queries. Now I need to add to the table. I
need to add columns for Children (sex and ages) and pets (what kind). Is
there any way of creating a sub-column to keep the data for each individual
new column together?

Thanks
  #2  
Old October 22nd, 2008, 06:45 PM posted to microsoft.public.access.tablesdbdesign
Golfinray
external usenet poster
 
Posts: 1,597
Default Access

Use an update query. Go to help and type update.

"CiCi" wrote:

I created a table with a few queries. Now I need to add to the table. I
need to add columns for Children (sex and ages) and pets (what kind). Is
there any way of creating a sub-column to keep the data for each individual
new column together?

Thanks

  #3  
Old October 22nd, 2008, 07:29 PM posted to microsoft.public.access.tablesdbdesign
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Access

On Wed, 22 Oct 2008 08:52:01 -0700, CiCi
wrote:

I created a table with a few queries. Now I need to add to the table. I
need to add columns for Children (sex and ages) and pets (what kind). Is
there any way of creating a sub-column to keep the data for each individual
new column together?

Thanks


STOP!!!

It sounds like you're working directly in table or query datasheets. These are
*very* limited.

It also sounds like you're trying to grow the table wider, with new fields for
Child1, Child2, Child3... Pet1, Pet2, Pet3... This is incorrect. Tables grow
vertically with new records, not horizontally. You would want a *new table*
for Children, related one-to-many to your current table; each new child would
be a new record in this table.

To interact with the data you would use a Form, probably with a couple of
Subforms (a subform for children and one for pets, for example).

See the tutorials at

Jeff Conrad's resources page:
http://www.accessmvp.com/JConrad/acc...resources.html

The Access Web resources page:
http://www.mvps.org/access/resources/index.html

A free tutorial written by Crystal (MS Access MVP):
http://allenbrowne.com/casu-22.html

MVP Allen Browne's tutorials:
http://allenbrowne.com/links.html#Tutorials

for examples of how to design databases.
--

John W. Vinson [MVP]
 




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


All times are GMT +1. The time now is 05:04 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.