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 February 5th, 2004, 09:35 AM
maljosh maljosh is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: London
Posts: 23 maljosh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Relation problems

I'm creating a program where customers can by many products. He is asked to fill customers form and after that he can make orders. Basically, i have a tblOrder with OrderID(unique) and i want to create another tblOrder2, let's say customer wants to buy two products, he'll be alright with purchasing first product and what goes next i'm not sure... i'm kind of stuck.. i know it's quite easy to do, but can some1 plz explain how exactly is it done...

Of coz i can create a table where you will have 5 fields for diffirent products, but that will be a waste of space if customer decides to purchase only one product...

Reply With Quote
  #2  
Old February 5th, 2004, 10:54 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
What I would like you to do is look at the sample database, that comes with Access, Northwind. It is an order system, just like you described, that allow customer to place multiple orders on one order. It uses a link table bewteen orders and inventory items.

Look at that and the ask any other questions that you may have.

S-

Reply With Quote
  #3  
Old February 9th, 2004, 05:32 AM
maljosh maljosh is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: London
Posts: 23 maljosh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
by the way, that's what i did...

Thanks for that anyways,

Reply With Quote
  #4  
Old February 9th, 2004, 09:28 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
Do you have anyquestions about Northwind DB, and the table OrderDetails?

S-

Reply With Quote
  #5  
Old February 11th, 2004, 05:58 AM
maljosh maljosh is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: London
Posts: 23 maljosh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for your help baxter... the Northwind database is too complicated for me, but i've done the same Order relation...

Have a look at the relation(i attached it!)

Do u mind if i send u my database, so u can have a look at it? I dont' wanna attach it.. if you could give me your email address where to send,
Attached Files
File Type: zip rel.zip (66.8 KB, 277 views)

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Relation problems


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 1 hosted by Hostway