Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old October 21st, 2003, 04:21 AM
kabir_hussein kabir_hussein is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Derby,Uk
Posts: 7 kabir_hussein User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question order level update

hi i have attached a copy of the tables i am trying to update and was wondering does anyone have any ideas on how to update an order level.
How i want the database to work is that i will be ordering 200 items and then in three months i will recive 100 items each month.

i was wondering if there is any way that i can update the total delivered each month. so if i inputted in 100 for one month and another 100 fro the second month the database will show me that only 200 have been delivered so far

thank you

kabir hussein
Attached Images
File Type: jpg entitytable.jpg (25.8 KB, 285 views)

Reply With Quote
  #2  
Old October 24th, 2003, 10:48 AM
sbaxter sbaxter is offline
Moderator: Access, SQL
ASP Free God (5000 - 5499 posts)
 
Join Date: Oct 2003
Posts: 5,126 sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level)sbaxter User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 1 h 2 m 51 sec
Reputation Power: 12
I have two suggests for you.

Without understanding all the logic behind you database structure... I would eliminate the table with the OrderQuanityID (Key). It isn't needed. And normalize you database structure. You are storing information that in multiple locations, that doesn't need to be there (IE PartID in the OrderHistory Table, You know the partID already because on the relationship between Order and Order History)


With that said
All you need to do is create a query, that is creates the information you need on the fly, that is GROUPED based on PurchaseOrderID, OrderLineID (or PartID), and SUM Qty received. This will tell you for this PO, this OrderLine(PartID) you have received this much.

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > order level update


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway