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 January 20th, 2004, 01:42 PM
Jaycwi Jaycwi is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 2 Jaycwi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Realtionship help and updating db

Hello and thanks in advance for your help! I have a small website that I maintain for my employer's company. I have used access for quite awhile as my database to log sales each month and keep track of how the employees are doing and how the month is looking. As it is right now I have every table seperate and employees have to edit each table with new information. I would like to be able to update each table from one form. I have been trying to understand relationships and have read books on this. However, I am for whatever reason not getting it. Here is the basic info that I am trying to tie together.

Store:
Store name

Employee:
Employee name
Item1
Item2
Item3

Customer:
Name
Personal Info
Employee name
Item
Store name

We have only 3 things we sell and I would like for my employees to be able to enter the customer info along with the Employee, Item,and Store info. I think I can create a relationship for the Employee Name and Store. However here is where I run into problems: As the customer purchases an item I would like it to tally into the Employee info. (example, we sell phones so If John doe buys 2 item1s from Jane then when I look under Jane's Name then she would have 2 item1s sold) I hope this makes sense. It seems fairly easy, but I just can't get it. Thanks again!

J

Reply With Quote
  #2  
Old January 20th, 2004, 05:24 PM
dtayl20 dtayl20 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Brisbane Australia
Posts: 324 dtayl20 User rank is Sergeant (500 - 2000 Reputation Level)dtayl20 User rank is Sergeant (500 - 2000 Reputation Level)dtayl20 User rank is Sergeant (500 - 2000 Reputation Level)dtayl20 User rank is Sergeant (500 - 2000 Reputation Level)dtayl20 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 19 h 33 m 34 sec
Reputation Power: 11
J
i'm having the same problem. The only way I can think of is to run and update query on the appropriate tables after you've entered the new record. The way I understand it, relationships will only cascade changes to existing records. If you find a better way, I'd love to hear from you.

Reply With Quote
  #3  
Old January 20th, 2004, 09:40 PM
Stev Stev is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Queensland, Australia
Posts: 256 Stev User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 58 m 53 sec
Reputation Power: 5
Have a look at the Northwind database in the sample databases for a start.

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Realtionship help and updating db


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
Stay green...Green IT