Inserting Multiple Records when we Press Button In the FOrms [message #557903] |
Sun, 17 June 2012 11:16 |
kommerashashi
Messages: 23 Registered: November 2007
|
Junior Member |
|
|
Hi friends... i have one doubt ...
In the Forms, I have Multi record Block and for that block i have created one button, if we press that buttion it will open new block and it will post the records,
Un fourtunately that block table dont have Primary key or any constraints .. so when we press that buttoon multiple times .. its posting multiple times..
Now i need to restrict to that which is should not post the records multiple timies ..
i have tried by controling the paraemter..
I have created one Non data base item initially value i assigned to 'N"
if the value is "N" then am doing process and showing the records and after processing am assigning the value to 'Y',
if there are multiple records , at block level in pre-record trigger am assigning as 'N'
but this approach is not working .. for few scenarios.
Can anyone help on this is there any good approach..Its very helpful to me if anyone helps
|
|
|
|
|