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
|
|
|