Home » Developer & Programmer » Forms » forms - Inserting two records
forms - Inserting two records [message #81620] Thu, 06 March 2003 08:45
masta
Messages: 2
Registered: March 2003
Junior Member
HI (oracle forms 6i)
i have two datablocks Student, Bookings based on tables.
student gives a foreign key to bookings called student_no

Problem:
my form should accept both the student details and bookings details at the same time. but it gives an error saying that the parent key violation has taken place.
I think its trying to insert bookings before inserting the student(parent key).
how can i commit the data with a sequence like student first and bookings afterwards.

thanx for you help
Previous Topic: help
Next Topic: Help Plzz
Goto Forum:
  


Current Time: Thu Apr 25 05:18:15 CDT 2024