How to show desired value in list item, when form starts?
Hello.
I have list item with values:
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
When the form starts, i want to show in my list item current month (August 2006). And when i open list item above list would appear with August 2006 selected.
How can i do that?
Thanks.
Hi Dejan,
What you have to do is the following:
After populating your list, write some code similar to what I have given here.
FOR n IN 1..nCnt LOOP
IF Get_list_element_value('list', n) = To_char(sysdate, <date format for the current month n year> THEN
:list := To_char(sysdate, <date format for the current month n year>
RETURN;
END IF;
END LOOP;
:list := NULL; -- in case nothing matches
You can use this in WNFI trigger and wherever necessary.
Check whether this solves your problem
Warm Regards,
Raja.
Similar Messages
-
How to assign NULL value to an ITEM in Forms Personalization?
Hi,
how to assign NULL value to an ITEM in Forms Personalization?
please suggest me.
ThanksI don't know what your form personalization does and maybe I misunderstand you ...
Try
:item_name := null; -
How to pick up value from list item
I created one form with list item(used to display all customer name).
From this i want to select one customer name and stored in a variable.. how can i do this..Use the Get_List_Element_Value function e.g.:
declare
v_customer_name VARCHAR2(50);
Begin
v_customer_name:= Get_List_Element_Value('customer_list', 1);
End; -
How to show "ALL" Values by default in Page Drop-Down Lists in Pivot Tables
Hi Everyone,
Iam stuck with 1 problem please can any 1 help me if u know the solution.
Here is my problem:
How to show "ALL" Values by default in Page Drop-Down Lists in Oracle BI Pivot Tables?
For example, if you place Region in the pages area, a Region drop-down list allows the user to select a particular region, and see the data for only that region, rather than seeing all the Regions,But by default its not showing "ALL" option in the drop down list ,rather than doing that its showing result for only 1 region by default.
And an other problem with this pages area is, if we palce the multiple attributes in the Pages area in the pivot table, the (Fields)result is showing in vertically, the attributes 1 by 1(Every attribute in a new line) ,rather than showing like that, is there any way to show the results in horizantally?(We want to have it as a seperate drop drown list for every field horizantally not as a concatenated list).Thanks Nikhil. But I am fetching the values from the LOVCache.java.
I am using <af:selectManyChoice>. Is there any way I can use LOVCache.java value for selecting default values instead of hard coding?
I mean to say can I write
unselectedLabel="#{LOVCache.entityTypeSelectionList.anyValue}"
where LOVCache.entityTypeSelectionList is used to populate the drop down box.
Regards,
Aseet -
How can I delete null values from List Item?
Hi Friends,
I used List item for field job_Type, I entered values in List item at design time through property pallet. When I run form I will see null values in this List Item.
How can I remove these null values from the List?
Best regards,
ShahzadDear Shahzad,
It can be removed by adding the following code in the When-new-Form-Instance.
Set_item_property('List name', required, property_true);
:block_name.list_name := <put your default value here>; (If you didn't oput the default value, then you will get some problem and the cursor may not navigate away from the list).
Senthil Alagu .P. -
How to get value from list item
Hi all,
How to get value from list item?
I have a problem with the List Item object
in the Oracle forms.
How can I retrieve the selected item from
a list ?
I didn't find any function like 'list.GET_
SELECTED_ITEM()'...
thanks
BalaHello,
You get the value as for any other Forms item:
:value := :block.list_tem ;Francois -
How to get a value from one item into another
How can i get value from one item into another item.
Ex: I have a report, in there i have check boxes, and when i have checked some rows, and press submitt, a prosses computates it into a item on another page, and a branche redirects to page 3. Then i'm going to use the value in the item into a PL/SQL script in an report to show the submittet items.
How can i do this?
Computation script, pages and all that is fixed. But i dont know which PL/SQL statement to use to get th value from the item.Hi Fredr1k,
Use the V() function from pl/sql.
e.g. V('P3_MY_ITEM')
will return the value of that page item.
As long as the pl/sql is called from within the Apex environment.
Regards
Michael -
How to implement tooltip for the list items for the particular column in sharepoint 2013
Hi,
I had created a list, How to implement tooltip for the list items for the particular column in SharePoint 2013.
Any help will be appreciatedWe can use JavaScript or JQuery to show the tooltips. Refer to the following similar thread.
http://social.technet.microsoft.com/forums/en/sharepointdevelopmentprevious/thread/1dac3ae0-c9ce-419d-b6dd-08dd48284324
http://stackoverflow.com/questions/3366515/small-description-window-on-mouse-hover-on-hyperlink
http://spjsblog.com/2012/02/12/list-view-preview-item-on-hover-sharepoint-2010/ -
Line item document flow shows net value of the item
Line item document flow shows the value of the item with currency instead of the quantity.
Any inputs on how this is getting displayed instead of the quantity being displayed?
Additional information:
In this case, the line item is a third party item with item category TAS.
The document flow displays as follows..
*Document Date Qty/Value UoM/Cur*
*Standard order xxxx xxxxx 34 170,00 USD*Dear Anand
Go to VA02 or VF02, input the reference and execute. Again go to document flow screen. Now from top menu bar, click on "Document Flow --> View --> Items". Now check the document flow.
thanks
G. Lakshmipathi -
How to hold the value in List box.
Hi All,
On my screen painter Screen I am displaying the Sold to party and ship to party with thier address.
I am also displaying the Shipping condition based on ship to party. To display the shipping condition i am using list box. Once the user enter the sold to party automatically all the field is going to populate in their respective fields. I am facing the problem that, The list box getting populated with shipping condition but once you choose the shipping condition and hit the enter the list box getting refreshed. I am using this code in PAI event. And I can Only use this in PAI.
The Function i am using for list box is CALL FUNCTION 'VRM_SET_VALUES'.
Pls suggest me how to hold the value in List box.
Thanks,
RakeshHi,
Now i am using in PBO.
the code below in in PBO.It is still not holding the value.
if list[] is initial.
perform SHP_COND.
endif.
form SHP_COND .
*DATA: SHOP(80).
clear : GT_VSBED, list.
refresh : GT_VSBED, list.
select vsbed
from knvv AS K
into table GT_VSBED
where Kvkorg = vbak-vkorg "Kkunnr = GV_STPH
and K~vtweg = vbak-vtweg
and K~spart = vbak-spart.
select VSBED vtext
from TVSBT
into table list
for all entries in GT_VSBED
where spras = sy-langu
and vsbed = GT_VSBED-VSBED.
*break-point.
NAME = 'SHP_CON'.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = NAME
values = LIST[]
EXCEPTIONS
ID_ILLEGAL_NAME = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endform. " SHP_COND
Thanks,
Rakesh -
How to Show total value in the header 2nd page but based on 1st page footer
How to show total value in header in report builder but i have the total have related with the total in footer.
Example
===============================================
Page 1
Empno Ename Sal
1 Scott 1000
2 ALlen 2000
3 Susi 1000
Total Sal Page 1: 4000
===============================================
Page 2
Total Sal Page 1: 4000 --> How to get it?????
Empno Ename Sal
4 Budi 1000
5 Roger 200
6 George 2000
Total Sal Page 2: 3200
Please Help..
Thankshmm .. what i would do is
- create a placeholder column
- create a field in the header and one in the footer
- have the footer field reference the summary column
- have the header field reference the placeholder column
- create a fromat trigger on the footer field to
store the value of the footer into the placeholder column
so when the report is executed and the footer field is formatted, the format trigger stores the current value of the summary in the placeholder. then the pagebreak occures and the header field is formatted .. printing the value.
there might actually be an easier way, just reference the two fields to the same summary column and in theory, since there is nothing happening between the time when the footer is formatted and the header is formatted, the values should be the same .. however this is a theory and i have not actually tested this. since reports does all kinds of fancy optimization this might have unexpected results, but it's worth a try.
thanks,
ph. -
Hi there! just want to ask how to show the value 1 in chart?
Thank you in advance!
Best Regards,
JefHi jefnavarro,
According to your description, you hope the value 1 to be displayed in series. If so, please refer to the following steps to set minimum value of Horizontal Axis to zero:
Right click anywhere of Horizontal Axis on the chart and open Horizontal Axis Properties dialog box.
In Axis Options pane, in Axis range and interval section, click the expression (fx) button next to Minimum.
In the expression text box, type =0, then click OK.
The following screenshots are for your reference:
If you have any questions, please feel free to let me know.
Best Regards,
Wendy Fu
Hi there and good day to you!
First of all thank you for the clear steps that you share but I don't know why still won't come..
maybe because my horizontal axis is starting from 1 as you can see on the lower part of my screenshot.. how can i set this to 0?
thank you again.
edited:
just want to add that my data is only counting on data in Values [Count(Name)] in chart data maybe that's why i don't have 0 value? -
How to show content of a list which resides in other site collection in Office 365?
Hi All,
Can anyone help on How to show content of a list which resides in other site collection in Office 365 . Using Rest and Soap services this is not possible as we have limitations in office 365.So if anyone have any idea please let me know.
Note : We are not allowed to use CSOM for this requirement.
Many Thanks,
Vinod.Hi Vinod,
You can use cross site publishing feature of SharePoint 2013.
http://blogs.msdn.com/b/justinvoels/archive/2012/09/24/sharepoint-2013-search-driven-publishing-and-cross_2d00_site-collection-publishing-overview.aspx
https://technet.microsoft.com/en-us/library/jj635883.aspx
Alternative to cross-site publishing in SP Online
https://www.youtube.com/watch?v=chwHhEmIERg
Best Regards,
Brij K
http://bloggerbrij.blogspot.co.uk/ -
Greek Text not showing correctly in a List Item
I cannot get the Greek text to show correctly in a List Item (poplist). My NLS_LANG is set correctly - text items and display items show Greek just fine. I have tried changing fonts ... to no avail. Anybody have any ideas?
Try: Store | Check for Available Downloads
-
How to access the value of application item in javascript
How to access the value of application item in javascript?
Hi,
One way
var myVariable = '&MY_APP_ITEM.';Br,Jari
Maybe you are looking for
-
Need help in writing a small java code
Hi, I have a small requirement where I need write a small java code. I am thinking of using array. Please suggest if you know the solution: 1. Need to compare user logon id is preset in the lookup table or not. 2. If user id present in the lookup the
-
Selection Profile to Filter by Forwarding Order type in Transportation Cockpit
Hi All, we need to configure Selection Profile / Planning Profile to consider only certain forwarding order type. The following settings have been done in the additional attributes of the Selection profile. And this selection profile is assigned to t
-
Difference between PAPI activityExecute and activityPost
Im am interacting with a process using PAPI from a webservice. What we need is to be able to interact with specific activities in the process, and send in and take out arguments. We have been using activityPrepare and activityCommit, calling both met
-
Bookmark bar and menu stop working after awhile on Firefox 12
I have upgraded to Firefox 12. Everything works fine when I start up Firefox, but after some amount of use (and I can't always reproduce this) eventually when I click on bookmarks in my Bookmark Bar or from the Bookmark menu, nothing happens. Firefox
-
What should I do? My mac mail was hacked.
If the answer is that I need to shut down that mail address, how do I do that? Thank you!