Microsoft Access Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft Access Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old August 10th, 2003, 07:15 PM
DimittDotNet DimittDotNet is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Serbia
Posts: 5 DimittDotNet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
MC Access Join Key & Recordset QU

Hi!
I've created DB in MS Access. It contains datas about school. I've made query that retrives data from 3 tables: Professors, Classes and Subjects. They all have primary keys ( ID...) and those data as foreign key in related table, and beween Classes and Subjects I've formed a index table containing ID from both tables as foreign keys.
But, when I make Form that should update some of datas conected with Profesors, I can't do it because some of feelds give me error message ( in sttus bar) " Join key not in Recordset.
How can I reach property Recordset and affect it?

Reply With Quote
  #2  
Old August 11th, 2003, 04:29 AM
jdarwin jdarwin is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 7 jdarwin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Check the data you are trying to enter in your Classes or Subjects table. Chances are that you are entering primary key data that do not exist in your Professors table.

Make sure that first you enter all your master data in Professors table then enter data in Subjects/Classes table. You should use combo box for such requirement which fetches data from Professors table. This will avoid such errors.

Here Professors table is master table which can have related multiple records in Subjects/Classes tables.

Also you should create Relationship between the tables. Go to Tool->Relationship on the Access 2000 menu bar.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft Access Development > MC Access Join Key & Recordset QU


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