PC Review


Reply
Thread Tools Rate Thread

Multiple value field Access 2007

 
 
New Member
Join Date: Jul 2012
Posts: 2
 
      13th Jul 2012
Hi,
I have the following problem. I want to create a little database in access 2007 to track some orders.

I have products table, Clients Table, Order Status etc.

So I have to create a table as follows

[Client Order No Type of Product NameofProduct Qnt DateofShipment etc...

I created a multiple value field for nameofProduct based on Products table. Because one order may have 10 products.

So if the the order consists of Product1, 2, 3 for one Order from 1 client I have to track the quantities for each product.

How can I set different quantity for each item in the multiple value field. It allows me to set 1 value in Quantity field and it appear for all the selected products. maybe I haven;t made the right thing.

Please help me. thank you
 
Reply With Quote
 
 
 
 
Member
goodfellow's Avatar
Join Date: Jun 2012
Location: Earth
Posts: 53
 
      13th Jul 2012
Hi,
Your products table should have only columns which are product properties "ID", "Name", "Description"....

Additionally I would create two more tables:
- "Orders" with columns "Order No", "ClientID", "ShipmentDate", "ShipmentAddress", etc,
- "OrdersProducts" where you link order numbers with product IDs, so three columns are necessary "OrderNo", "ProductID", "ProductQnt"

Now just add as many products with the same order number and different quantity for each product as you like to table "OrdersProducts".

Many tables for the first sight complicate the project, but if you consider it carefully, you'll see benefits of such a structure
 
Reply With Quote
 
 
 
 
New Member
Join Date: Jul 2012
Posts: 2
 
      17th Jul 2012
Quote:
Originally Posted by goodfellow View Post
Hi,
Your products table should have only columns which are product properties "ID", "Name", "Description"....

Additionally I would create two more tables:
- "Orders" with columns "Order No", "ClientID", "ShipmentDate", "ShipmentAddress", etc,
- "OrdersProducts" where you link order numbers with product IDs, so three columns are necessary "OrderNo", "ProductID", "ProductQnt"

Now just add as many products with the same order number and different quantity for each product as you like to table "OrdersProducts".

Many tables for the first sight complicate the project, but if you consider it carefully, you'll see benefits of such a structure
Thank you very much, I'll try it.
 
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
averaging a field value if field value is greater then 0 access report BRC Microsoft Access Reports 4 25th Aug 2011 04:10 AM
Word merge from Access 2007 to Word 2007 brings over PK value and not text value. Kellyzeroes General Software 0 13th Jul 2011 07:50 PM
VBA IIf(myCell.Value = Array(myCell2(1).Value, myCell2(2).Value,myCell2(3).Value,myCell2(4).Value) ,"OK","No Match) EagleOne@discussions.microsoft.com Microsoft Excel Programming 2 24th Apr 2009 11:25 PM
Can I open the source record stored in a Multiple value Combo box field, Access 2007 TechyGal Microsoft Access 2 20th Sep 2007 01:47 PM
TextBox1.value=TextBox2.value-(TextBox3.value+TextBox4.value) helmekki Microsoft Excel Programming 2 14th Oct 2004 05:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:44 AM.