We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,492 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

edite MS Access via code

hi
I have MS Access Data Base with tow tables table 1 has relashiship with Table 2
when I try edite tabe 1 error message shown tell me I can't edit table 1
do you have examble for this ?

3
Contributors
3
Replies
17 Hours
Discussion Span
1 Year Ago
Last Updated
4
Views
kosay
Newbie Poster
11 posts since Jul 2011
Reputation Points: 8
Solved Threads: 0
Skill Endorsements: 0

The exact error would really help.

adam_k
Veteran Poster
1,057 posts since Jun 2011
Reputation Points: 274
Solved Threads: 205
Skill Endorsements: 11

message is :
{"You cannot add or change a record because a related record is required in table 'Table1'."}

kosay
Newbie Poster
11 posts since Jul 2011
Reputation Points: 8
Solved Threads: 0
Skill Endorsements: 0

yes this error is only occurs when you want to edit foreign key , for example , if there is two table having fields . Stuid , name and table 2 has fields id , stuid ,in this situation if you want to edit value of Stuid in table then it is necessary that table1 has same value .in it . hope this will help you.

Regards

M.Waqas Aslam
Master Poster
748 posts since Aug 2011
Reputation Points: 50
Solved Threads: 122
Skill Endorsements: 2

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0710 seconds using 2.81MB