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 December 25th, 2003, 10:37 PM
tycoon tycoon is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 38 tycoon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 19 m 39 sec
Reputation Power: 0
Trouble with connecting two table with relationship connection

Hi alll...I have big issue over here....and i seeking help from u all.....well u see I have 2 asp(dreamweaver mx) pages with contained insert data server behaveiour....the problem is the database which connected to these 2 asp pages is contained 2 table which is link relationship....so when try to insert data to the secondary form it came out wit an error stated cannot update or insert data to the table because of contained relationship

Reply With Quote
  #2  
Old December 26th, 2003, 02:16 PM
dsomers dsomers is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Winston-Salem, NC
Posts: 198 dsomers User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
What kind of relationship do you have between the 2 tables?

Later,
David Somers

Reply With Quote
  #3  
Old December 26th, 2003, 07:23 PM
tycoon tycoon is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 38 tycoon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 19 m 39 sec
Reputation Power: 0
one to many relatiopship(enforce referential Intergrity).....can u help me please

Reply With Quote
  #4  
Old December 28th, 2003, 07:42 PM
dsomers dsomers is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Winston-Salem, NC
Posts: 198 dsomers User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
How do you have them linked (ie. whats your table structure)?

Later,
David Somers

Reply With Quote
  #5  
Old December 28th, 2003, 08:24 PM
tycoon tycoon is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 38 tycoon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 19 m 39 sec
Reputation Power: 0
Parent to child

Reply With Quote
  #6  
Old December 29th, 2003, 02:41 PM
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: 13
When you go to add the record in the child record, are you including the foreign field(parent info) in the insert statement. It sould like you are either trying to add a record that doesn't have a parent record to correspond to OR you are not including the Parent information when you are trying to create the child (thus creating an enviroment where the parent info doesn't exist).

S-

Reply With Quote
  #7  
Old December 30th, 2003, 04:38 AM
tycoon tycoon is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 38 tycoon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 19 m 39 sec
Reputation Power: 0
this my database strucure

Here is my Database structure for the thred "Trouble with connecting two table with relationship connection"
Attached Files
File Type: zip prob.zip (31.2 KB, 150 views)

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Trouble with connecting two table with relationship connection


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 4 hosted by Hostway
Stay green...Green IT