How we can check Item UNIQUE value at the time enter the value
hi,
check unique item value.When entering value.
using record group.
How?
which trigger we can use?
Thanks & Records
venkat
Hi!
Do you want to check if a value already in your table?
if so, use the when-validate-item trigger like this:
begin
if
:your_block.your_item is null
then
return; --> nothing to check, exit trigger
end if;
for l_rec in ( select 1
from your_table t
where t.your_column = :your_block.your_item
and ( :your_block.rowid is null OR rowid != :your_block.rowid ) --> if it is not a queried record
and rownum = 1 ) loop
message ( 'The value ' || :your_block.your_item || ' is already in existence. Please enter another value or use our nice list-of-values.' );
message ( ' ' ); --> shows an alert not only a message in the status line
raise form_trigger_failure;
end loop;
end;Regards
Similar Messages
-
Get previous items unique value in new add item form
Hi
I have on list having items related to multiple locations.
Every location is related to one user.
When user logs in it filters the list with that users location.
Now when user click on add new item I want to get the data related to his location using item event listener.
But in new item form there is no way to get the location of that user in event listener as its new item.
So I passed the qury string parameter form list and changed the add item form link and form to get the query string paramter as default value in Add new Item form.
But again when user clicks on save button it redirects to original url without paramter.
How to redirect user to url with parameter on click on Save/Cancel.
Is there any other way to get the previous item unique value in add new item from before executing the event listener?Hi,
According to your post, my understanding is that you wanted to redirect user to url with parameter on click on Save/Cancel.
You need to modify the onclick event need to as below:
javascript: {{ddwrt:GenFireServerEvent('__redirect={{Home.aspx?Participant={@Participant}&@Activity={@Activity}}}')}}
Here is a similar thread for your reference:
http://social.technet.microsoft.com/Forums/en-US/b506cfe5-650e-4017-b470-9ca0a75cd390/sharepoint-2010-list-how-to-pass-parameters-in-a-url-to-another-page?forum=sharepointcustomizationprevious
In addition, you can creating an intermediate page which just finds the filed value with a DVWP and then redirect to RedirectURL with the filed value on the Query String.
For more information, you can refer to:
Redirect to Another Page from NewForm.aspx with the New Item’s ID
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
How does APEX check for null values in Text Fields on the forms?
Hello all,
How does APEX check for null values in Text Fields on the forms? This might sound trivial but I have a problem with a PL/SQL Validation that I have written.
I have one select list (P108_CLUSTER_ID) and one Text field (P108_PRIVATE_IP). I made P108_CLUSTER_ID to return null value when nothing is selected and assumed P108_PRIVATE_IP to return null value too when nothign is entered in the text field.
All that I need is to validate if P108_PRIVATE_IP is entered when a P108_CLUSTER_ID is selected. i.e it is mandatory to enter Private IP when a cluster is seelcted and following is my Pl/SQL code
Declare
v_valid boolean;
Begin
IF :P108_CLUSTER_ID is NULL and :P108_PRIVATE_IP is NULL THEN
v_valid := TRUE;
ELSIF :P108_CLUSTER_ID is NOT NULL and :P108_PRIVATE_IP is NOT NULL THEN
v_valid := TRUE;
ELSIF :P108_CLUSTER_ID is NOT NULL and :P108_PRIVATE_IP is NULL THEN
v_valid := FALSE;
ELSIF :P108_CLUSTER_ID is NULL and :P108_PRIVATE_IP is NOT NULL THEN
v_valid := FALSE;
END IF;
return v_valid;
END;
My problem is it is returning FALSE for all the cases.It works fine in SQL Command though..When I tried to Debug and use Firebug, I found that Text fields are not stored a null by default but as empty strings "" . Now I tried modifying my PL/SQL to check Private_IP against an empty string. But doesn't help. Can someone please tell me how I need to proceed.
ThanksSee SQL report for LIKE SEARCH I have just explained how Select list return value works..
Cheers,
Hari -
How user can get a Sales Text for the any Line Item in the Billing?
Salute Masters ! !
How user can get a Sales Text for the any Line Item in the Billing?
It's coming for other Order (Line Item for Bought out Item at Project Site - Some Item they procure at project site & complete the task).
Where I can configure in system for all.
Rgds
Srivastav
09973504950Hi,
Sales text can be copied from customer to order , order to delivery and delivery to billing .
Check the T-code : VOTXN , do the customization as per your requirement.
check the below link :
http://help.sap.com/saphelp_erp60_sp/helpdata/en/dd/55f993545a11d1a7020000e829fd11/content.htm -
How I can check this condition
Hi,
Through PLSQL code how I can check the following condition.
I have two field column TEXT1 and TEXT2. Text2 contains total five item
and text1 contain one item, how I can check Text1 against text2 its
existing or not.
:Text1 :='B1'
:Text2 := 'A1,B1,C1,D1'
I have tried the following way, but it is not working
IF :Text1 IN (:TEXT2) THEN
DISP_MSG('EXIST');
END IF;
Regards,
Jen.Or
sql>
declare
text1 varchar2(10) := 'B1';
text2 varchar2(20) := 'A1,B1,C1,D1,E1';
begin
dbms_output.put_line(case when text2 like '%'||text1||'%' then 'Exists'
else 'Not exists'
end );
end;
Exists
PL/SQL procedure successfully completed.
jeneesh -
I have my iphone 5 but a lost. The box where it came how i can check of how many gb its ?
Tap settings
General
About
this provides alist of everything you may need to know about your device -
How i can check the size of DB in 9i?
I recall, you already ask it Re: Size of DB Check
-
How i can check my phone is under warrenty???????
i want to know, how i can check my phone warrenty period and my phone originallty...........
Hi krishanjaat
It would help if you carry out *#0000# and post the results, if you want more help with this matter.
Happy to have helped forum in a small way with a Support Ratio = 37.0 -
How I can check if my Imac is Intel Core Duo Extreme
Hello All,
How I can check if my Imac is truly Intel Core Duo Extreme from Leopard?
thank you,
JDJD,
Welcome to Apple Discussions.
Apple Menu>About This Mac>More Info...>Hardware>Hardware Overview>Processor Name:
;~) -
How we can sort subtotal results value in abap alv report
Hi, How we can sort subtotal results value in abap alv report
Thanks a lot for your code
but i am still getting double and weird results.
Subtotal IN PARTY KGS TOTAL VALUE
1 40008 3,141.20 192,799.00
1 40008 16,681.06 1,908,659.00
Subtotal 1 19,822.25 2,101,458.00
10 40022 4,590.60 531,228.00
10 40022 3,448.27 377,173.00
Subtotal 10 8,038.87 908,401.00
100 40010 270.172 19,852.00
Subtotal 100 270.172 19,852.00
101 40036 752.898 61,051.00
101 40036 207.586 19,431.00
Subtotal 101 960.484 80,482.00
102 40048 325.936 32,154.00
102 40048 264.32 19,364.00
Subtotal 102 590.256 51,518.00
103 40066 216.134 18,088.00
Subtotal 103 216.134 18,088.00
104 40001 231.96 16,986.00
Subtotal 104 231.96 16,986.00
105 40021 585.918 65,461.00
105 40021 108.683 15,825.00
Subtotal 105 694.601 81,286.00
106 40046 209.777 15,341.00
Subtotal 106 209.777 15,341.00
107 40043 167.353 14,755.00
Subtotal 107 167.353 14,755.00
108 40046 153.023 14,343.00
108 40046 342.348 32,223.00
Subtotal 108 495.371 46,566.00
109 40008 184.085 13,483.00
Subtotal 109 184.085 13,483.00
11 40011 5,275.63 524,232.69
11 40011 6,723.28 643,911.82
Subtotal 11 11,998.90 1,168,144.51
110 40067 142.113 13,333.00
110 40067 492.883 44,428.00
Subtotal 110 634.996 57,761.00
111 40040 118.961 13,190.00
111 40040 492.433 60,029.00
Subtotal 111 611.394 73,219.00
Edited by: Timaji Sawant on Feb 16, 2012 12:16 PM
Edited by: Timaji Sawant on Feb 17, 2012 9:27 AM -
How
I can check on
the existence of a client
ActiveX, so that
if there is no download begins?
example:
I want tocheck for:
EditDocumentButton = new ActiveXObject "SharePoint.OpenDocuments.2");
if (EditDocumentButton) {
EditDocumentButton.EditDocument (strDocument);
and ifthere is nowarning andlaunch aURLto startthe
download
as is?
thanksHello,
This control is defined in the OWSSUPP.dll file, a dynamic-link library (DLL) that is installed in the %ProgramFiles%\Microsoft Office\Office14\ directory on the client computer during Microsoft Office Setup. (Read
full article on MSDN)
Based on my understanding this below link can help you to open file if activex is not found.
http://blog.scosby.com/post/2011/08/22/Remotely-Opening-Office-Files-From-SharePoint-2010.aspx
Now to detect the activex please look this code:
http://www.andrewshough.com/sharepoint/multiple-office-version-support-in-sharepoint-services-3-0/
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
HT4972 how i can check that my phone is factory unlock or not
how i can check that my phone is factory unlock or not
Look at the other thread you started. Running two active threads is confusing, not only to you but to those who are trying to help.
-
Hey,how i can check if my iphone is NEVERLOCKED ?
hey,how i can check if my iphone is NEVERLOCKED ? i`d be grateful...
ps.i`m a romanian,sorry for my english.mitzzu wrote:
i bought it from a guy...
Well there's your answer...you buy from a non-official source, you take your chances with the veracity of the person you're buying from. If you have AppleCare where you live, you can try calling them. They will be able to tell you. If not...well, Good Luck! -
How i can check last dialled numbers on my iphone?
how i can check last dialled numbers on my iphone?
It should be. When selecting Call for a number and the number starts ringing, the clock has started for being charged for that call. The clock doesn't start when the recipient answers the call as when dialing long distance with a landline.
There is only one way to know and determine this for certain with your carrier and if your carrier includes such detailed info with your account - checking your online account with your carrier. -
How we can check unicode check for function-pool.
hi experts,
how we can check unicode check for function-pool.
pls tell needy.
regards,
praveenYou can check the Unicode in the function group or use transaction UCCHECK
Maybe you are looking for
-
Just as the title states. Any help would be great thanks.
-
Cannot open display error MATE
I installed MATE alongside XFCE but when I try to open MATE after I login at boot it just comes up with the error Cannot open display and it then exits? I used the command: exec mate-session to try and start MATE. Thanks Al. PS I've you need any more
-
"Pentax Corporation" vs. "Pentax" for Lens Correction
I have a Pentax camera. Lens correction only displays me a few lenses. I found out that it only displays the lenses for the camera brand "Pentax Corporation" and not for "Pentax" in the raw converter. In "Filters->Lens Correction" I can change it. Is
-
A question about axis web service
Does "AdminClient" command creates stubs and skeletons for my web service or do i have to do it manually by "WSDL2JAVA" command?
-
Sending offline messages, automatically send when connection established?
Hi there, I am new to the iPhone. On other phones I could compose an sms or other message offline, and it would be queued & sent when a connection was reestablished. The iPhone currently doesn't let me hit the send button while offline and if it d