Cannot save data [message #194132] |
Wed, 20 September 2006 22:37 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
|
I have a block named aaa, query data source name is bbb and
DML data target name is bbb. When I insert record it does not saved on bbb table. Not saved as well on aaa table.
This is a database block, I wonder why I can't saved on table bbb. Any idea on this?
|
|
|
|
|
Re: Cannot save data [message #194207 is a reply to message #194132] |
Thu, 21 September 2006 03:29 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
|
I got it.
The problem now is on the master-detail relation. The relation is based on (a=a, b=b, c=c), but when I change the column d on master, I fetch nothing for details. As I understand it, the data will be retrieve as far as the condition was met.
|
|
|
|
Re: Cannot save data [message #194383 is a reply to message #194132] |
Thu, 21 September 2006 19:58 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
|
Hi David,
Both tables have no primary key.
I followed your instruction, I've created blocks from the scratch, but I don't encounter any regarding what you have said "default value" to populate primary key. I'm using oracle 5.0.
If i'm going to When-Create-Record trigger, what code I'm going to write? I'm having hard time searching F1.
Thanks!
Wency
[Updated on: Thu, 21 September 2006 20:00] Report message to a moderator
|
|
|
|
|