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 » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

help to make database structure



 
 
Thread Tools Display Modes
  #1  
Old May 17th, 2004, 02:51 PM
database structure
external usenet poster
 
Posts: n/a
Default help to make database structure

have a simple database with following tables:

MainOrderDetails
Suppliers
Clients

Most of the information stays in MainOrderDetails table.

I wish to create a new table or a field to do following job (we deal in fabrics)

In one field we mention no. of colors. (till now we just used to mention only the no. of colors in the database). But now we wish to mention exact quantity of each color.

So, we need some way to expand the fields according to no. of color entered by user.

2nd case is more complex.

If the order is for printed fabric, user will enter no. of designs. And each designs will have some colors. We wish to store each design each color quanity in separate field. (the no. of designs and no. of colors and quantity of each color can vary for each order)

Could somebody help me how to design this database? Do I need to use arrays to make it possible?

  #2  
Old May 17th, 2004, 03:39 PM
PC Datasheet
external usenet poster
 
Posts: n/a
Default help to make database structure

I can help you.

Contact me at the email address below.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications

www.pcdatasheet.com


"database structure" wrote in message
...
have a simple database with following tables:

MainOrderDetails
Suppliers
Clients

Most of the information stays in MainOrderDetails table.

I wish to create a new table or a field to do following job (we deal in

fabrics)

In one field we mention no. of colors. (till now we just used to mention only

the no. of colors in the database). But now we wish to mention exact quantity of
each color.

So, we need some way to expand the fields according to no. of color entered by

user.

2nd case is more complex.

If the order is for printed fabric, user will enter no. of designs. And each

designs will have some colors. We wish to store each design each color quanity
in separate field. (the no. of designs and no. of colors and quantity of each
color can vary for each order)

Could somebody help me how to design this database? Do I need to use arrays to

make it possible?



  #3  
Old May 17th, 2004, 07:21 PM
Chris Nebinger
external usenet poster
 
Posts: n/a
Default help to make database structure

You need a table to store all possible colors:

tblColors
ColorID
Color

Now, you need one to show which colors the order consists
of:

tblOrderColors
OrderID
ColorID

For designs, it's very similar:

tblDesigns
DesignID
OrderID


tblDesignColors
DesignID
ColorID


Let me know if that gets you headed in the right direction.


Chris Nebinger


-----Original Message-----
have a simple database with following tables:

MainOrderDetails
Suppliers
Clients

Most of the information stays in MainOrderDetails table.

I wish to create a new table or a field to do following

job (we deal in fabrics)

In one field we mention no. of colors. (till now we just

used to mention only the no. of colors in the database).
But now we wish to mention exact quantity of each color.

So, we need some way to expand the fields according to

no. of color entered by user.

2nd case is more complex.

If the order is for printed fabric, user will enter no.

of designs. And each designs will have some colors. We
wish to store each design each color quanity in separate
field. (the no. of designs and no. of colors and quantity
of each color can vary for each order)

Could somebody help me how to design this database? Do I

need to use arrays to make it possible?

.

 




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 07:23 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.