the program is not giving an error it just doesn't seem to care what value your inputing it stiill gives you an alert. No matter if its a good value or a value that is a duplicate.
oops actually i got this
when others then
close c;
--alert_button := show_alert('LESSTHAN3');
--raise form_trigger_failure;
-- place your code to process here
end;
declare
dummy varchar(5);
alert_button number;
cursor c is select 1 from KBI_VALID_VALUES where
KBI_VVL_VALID_VALUE = KBI_VALID_VALUES.KBI_VVL_VALID_VALUE;
begin
open c;
fetch c into dummy;
if c%notfound then
close c;
else
raise dup_val_on_index;
end if;
exception
when...
hmm well i got it to compile right it still does not work right
i want it to give an error when the value is the same as a value that exists. and i don't want the code to do anything if it is a distinct value.
Not Letting the user input a value that already exists..
I am not sure I have done sever vb programs nothing to do with database programs.. So bear with me. I understand i need to do this in a when validate item trigger.
do you know what the syntax for if item equals a item that already exist...
Not Letting the user input a value that already exists..
I am not sure I have done sever vb programs nothing to do with database programs.. So bear with me. I understand i need to do this in a when validate item trigger.
do you know what the syntax for if item equals a item that already exist...
hmm... are suggesting creating another table importing all the data from the ascii file into it. Then copying it over to my actual table doing the integerety checks on that transfer?
I have an ascii file i need to load into my data base.. I have some examples on what the code is.. but here is my problem . (simple for a dba I am sure) :) I need to have criteria and what I mean this, is ascii file is off a mainframe. The mainframe has no integrity checks.. so a table that...
i am trying to build a botton on my form with oracle developer that does this
if :old.colname <> :new.colname then
:storecolname := :old.colname
end if;
but all the examples I have seen where this work are database triggers not a "when button pressed trigger" so i was wondering if new...
Is there away to change the text item box height in runtime?
If it is possible to do this based on how many character are in that exact same text box? The box will contain records and I want the box to adjust automaticly depending the number of character in that record. On Another note I am also...
OK I got some screen shots. Thanks sem for the help. So are you saying that Records_Displayed cannot be changed at all during run time? You can see what I am talking about in prog3 and prog4. In prog4 there are 26 records. I want to make the records display (the table layout of the data) adjust...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.