Home » Developer & Programmer » Forms » FORMS 6I: UPDATE PROBLEM
FORMS 6I: UPDATE PROBLEM [message #81496] Mon, 24 February 2003 01:27 Go to next message
dona
Messages: 1
Registered: February 2003
Junior Member
I am having problem with updation of primary key
of master block if there are foreign keys in the detail
block. Do I need to code trigger ON_Update for this?
Re: FORMS 6I: UPDATE PROBLEM [message #81499 is a reply to message #81496] Mon, 24 February 2003 05:37 Go to previous messageGo to next message
Venky
Messages: 52
Registered: October 2001
Member
You are not supposed to update primary key values. The general logic is either the whole row would be deleted and re-inserted again with modified values. But nowhere in the application the primary key would be updated and that too if it has child records updating the primary key is like violating the rules.
Re: FORMS 6I: UPDATE PROBLEM [message #81541 is a reply to message #81499] Fri, 28 February 2003 06:02 Go to previous message
Praveen Kumar
Messages: 21
Registered: December 2001
Junior Member
Eventhough, you have Foreign key in Detail Block, for that primary key, no child records are available, then you can update primary key. Except this any other condition, voilates the Database rules.
Previous Topic: Automaticlly running a query
Next Topic: Oracle Forms - Tabular Data Problem
Goto Forum:
  


Current Time: Fri Apr 26 13:15:34 CDT 2024