Dynamically Select tile list item
Hi,
is it possibly to select / highlight an item in a tile list by interacting with something else in the app? So if i click a button i want to select the third itme in a tile list.
Cheers
Tim
the problem is really working out which of the items I want to select, as I'm not able to loop through the children of the list in order to make my comparison.
Similar Messages
-
Multiple selection in list item
can i do multiple selection i list item using developer6(i), if yes, how?
Hello,
Please repost this question in the appropriate section of the Discussion Forum.
This forum is for general suggestions and feedback about the OTN site.
You can also use our new offering called OTN Service Network:
For Oracle Advice/Minimal Support (fee based) on the Oracle Database Server, Oracle9i Application Server Containers for J2EE (OC4J), Oracle9i JDeveloper, Reports, Forums, SQL*Plus, and PL/SQL, please go to: http://www.oracle.com/go/?&Src=912386&Act=45
For customers with paid support (Metalink) please go to:
http://www.oracle.com/support/metalink
Regards,
OTN -
Hi all,
I'm using Oracle Forms 10g and i want to make a multi selection
in List Item(combo box, poplist or tlist). If anybody can help plz.
Thanks
CharbelHello,
Go to the OTN Forms page then download the Forms demos. They contain a multi-select demo.
Francois -
Dynamically changing the list item based on another list item
Hi all,
I have two fields that are list items.
First list item contain two list values: Regular and One-time
In second list item if user select the Regular then below values should appear:
Daily wages
Activity Linked
Fixed Contracts.
Contract Staff
Outsourced
if user select the one-time then below values should appear:
Projects
Repairs & Maint.
Please do the needful.First list item contain two list values: Regular and One-timeYou simply need to add a conditional check to the When-List-Changed (WLC) trigger to see which value was selected. Then, as Manu suggests, you will populate the Poplist based on the selected value.
For an example of how to dynamically populate a Poplist item, take a look at: Forms: How to Dynamically Populate a Poplist.
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly. -
Dynamically deleting a List Item
i have a doubt as to can we dynamically delete a element in a List Item. I know, adding elements in a list but, can we delete it.
I hope, my question is clear. Please help in solving the doubt.
Regards.hi
I Have filled 10 list dynamically with same records of a table from database. If user selected anyone record from 1st list,that item will not appear in next 9 list.again on selection of item in 2nd list,that item will not appear in next 8 list.....and so on.....I try to use DELETE_LIST_ELEMENT() but here how i can provide dynamically index value of item in list -
Dynamic Population of List Item Not Working
My requirement is to have 1 list item that is populated based on the value selected for a second list item. in the when-list-changed trigger of the second list item, i make a call to a procedure (code below). This seems to not like any of the clear_list or populate_list. the list item type is poplist. i set the class to list. if i use populate_list in when-new-form-instance, there's no problem. PLEASE HELP. When can't I populate list using a procedure??
ERROR: frm-40734 internal error pl sql error occurred
PROCEDURE Refresh_List IS
v_rg_name VARCHAR2(40) := 'RGTEST';
v_rg_id RecordGroup;
v_sql varchar2(2048);
problem EXCEPTION;
status number;
list_id item;
BEGIN
list_id := Find_Item('BLK_TEST.LST_TEST');
v_sql:='select column_name from sys.all_tab_columns where table_name=''testtable''';
v_rg_id := Find_Group( v_rg_name );
IF Not Id_Null(v_rg_id) THEN
DELETE_GROUP( v_rg_id ) ;
End if;
clear_list(list_id);
v_rg_id := Create_Group_From_Query( v_rg_name, v_sql ) ;
status := Populate_Group( v_rg_name );
POPULATE_LIST(list_id, v_rg_id);
POPULATE_LIST('BLK_TEST.LST_TEST', 'RGTEST'); also tried this.
if status <> 0 then
raise problem;
end if;
EXCEPTION
WHEN problem THEN
message('problem.');
WHEN others THEN
message('tooto');
END;Thanks for the response. I've tried this example too and it still doesn't like the things mentioned in previous post. In addition, it doesn't like SET_RECORD_PROPERTY(:system.cursor_record,'EMP',status,new_status); I get the same sort of error. The form compiles fine though.
Background on form:
this form was created to allow users to dynamically build an update statement. On this form are a number of list items and text boxes that are not populated from a database. So the datablock doesn't retrieve values from the database and the only updating that will be done is when the user clicks an "update" button to execute the sql statement that is built. Could this issue I'm having be related to the way i designed my datablock and items? When the user selects an item from one of the list items, the record status goes to "Changed". So I assumed my issue was because of this and thought the set_record_property statement would help...but that is generating the same error. what am i missing? if i look at the index value of the record group after create_group_from_query, it is -1. after populate_group, it is still -1. should it still be -1?? any help is greatly appreciated. -
Query about multiple selection of List item in forms 6
How can I select multiple elements from a list item in Forms 6?
the very simple strategy to do is to call removeAllItems() method for the 2nd combox box and then insert the contents. this is because the validate() method is not repeatedly called and so the contents are not updated immediately.
-
Populating a text field depending on what is selected in list item field
I have A form which contains a ROOM_REF field which is a list item, and a ROOM_DESC field which is a text item. (among other things).
When the user selects from the ROOM_REF field (which is populated by a record group on startup),
I want it to automatically populate the ROOM_DESC field with the coresponding (read only) data.
Which kind of trigger do I need to use and with what code?
Something like:
SELECT ROOM_DESC FROM ROOM WHERE ROOM_REF = :SESSION.ROOM_REF;
ThanksDid you try this code in WHEN-LIST-CHANGE trigger of list item.
SELECT ROOM_DESC INTO :ROOM_DESC FROM ROOM WHERE ROOM_REF = :SESSION.ROOM_REF;-Ammad -
Multiple rows selection in list item
Using the List Item control in Oracle Forms (5.0.6.11), is it
possible to highlight/select multiple rows? If possible, how? Or
is there a workaround on this?
nullHello,
Please repost this question in the appropriate section of the Discussion Forum.
This forum is for general suggestions and feedback about the OTN site.
You can also use our new offering called OTN Service Network:
For Oracle Advice/Minimal Support (fee based) on the Oracle Database Server, Oracle9i Application Server Containers for J2EE (OC4J), Oracle9i JDeveloper, Reports, Forums, SQL*Plus, and PL/SQL, please go to: http://www.oracle.com/go/?&Src=912386&Act=45
For customers with paid support (Metalink) please go to:
http://www.oracle.com/support/metalink
Regards,
OTN -
Hi!
Version Info: SharePoint 2013 Server Standard (*BTW...I do not have access to Visual Studio*)
I have two lists, let's call them
-Assets
-Asset Checkouts
"Assets" is the parent list, and "Asset Checkouts" has a lookup column (multiselect) which is tied to the serial # column in the "Assets" list.
Basically, what I need to accomplish is this: I would like to be able to select multiple list items in the "Assets" list, and create a new item in "Asset Checkouts", and pre-fill the multiselect lookup column in the NewItem form
for "Asset Checkouts" with the values from the selected items in "Assets".
Any ideas or suggestions on how to do this would be most appreciated!
Thanks!Hi,
According your description, you might want to add new item in "Asset Checkouts" list when selecting items in "Assets" list.
If so, we can achieve it with SharePoint Client Object Model.
We can add a button in the "Assets" list form page, when selecting items, we can take down the values of columns of the selected items, then click this button which will create
new item in "Asset Checkouts" list with the values needed.
Here are some links will provide more information about how to achieve it:
Use
SP.ListOperation.Selection.getSelectedItems() Method to get the list items being selected
http://msdn.microsoft.com/en-us/library/ff409526(v=office.14).aspx
How to: Create, Update, and Delete List Items Using JavaScript
http://msdn.microsoft.com/en-us/library/office/hh185011(v=office.14).aspx
Add ListItem with Lookup Field using Client Object Model (ECMA)
http://notuserfriendly.wordpress.com/2013/03/14/add-listitem-with-lookup-field-using-client-object-model-ecma/
Or if you just want to refer to the other columns in "Assets" list when add new item in "Asset Checkouts" list, we can insert the "Assets" list web part into the NewForm page
of the "Asset Checkouts" list, then when we add new item in the "Asset Checkouts" list, we will be able to look through the "Assets" list before we select values for the Lookup column.
To add web part into the NewForm.aspx, we need to find the button "Default New Form" from ribbon under "List" tab, then we can add web part in the NewForm.aspx.
In the ribbon, click the button “Default New Form”:
Then we can add web part into NewForm.aspx:
Best regards
Patrick Liang
TechNet Community Support -
How to send a list item value to URL to open data related to item value
Hi,
Iam using Apex4.0 and iam facing some problem. Iam unable to send selected list item value to the url specified in the HTMl region.
Here i want to open the data related to list item value in other page.
List item - :Familyp
i want to pass this selected value to the url and when ever user selected the list item and clicks on the url, then it should display the item value related data in new page.
I tried with &FamilyP in url but it's not working. Any one help me plz.
Regards
Vamsi.TataIs it a normal Select list or Multi Select list?
If you have select list that allows you to select multiple options then you cannot pass it through URL. Multi-select /Shuttle keep colon separated list in the item, and this confuses Apex because the Apex URL uses colons for a different purpose. No escaping or URL encoding will help.
If it is normal select list that allows selection of only one option then you can pass through the url. Unless of course the data has a colon in it.
For multi-select, and when the value contains colon, the only way is to save the value in session state, same page item or any other place like Application Item, and then reference it at the other end. Never pass through the URL.
Regards, -
List item - Population - Based on Data setup
Dear All,
I need to populate the list item based on data defined at the database level.
Tables Used:
Table 1 : JBCAI_JOB_COM_ADD_INFO
Column Name Pk Null? Data Type Default
JBEDC_UID 1 N NUMBER (22)
JBCAI_ADD_INFO_CODE 2 N VARCHAR2 (2 Char)
JBCAI_INFO_CODE_SEQUENCE 3 N NUMBER (3,1) 1
JBCAI_ADD_INFO_TEXT Y VARCHAR2 (35 Char)
SHIPCOMP_CODE N VARCHAR2 (4 Char)
Table 2 :CODES
CODE_TYPE CODE_VALUE DESCRIPTION NEXT_VALUE CODE_FLAG
MCAR 01 Customs References 01 NULL N
MCAR 02 Customs References 02 NULL N
MCAR 03 Value of Commodities NULL N
MCAR 04 Currency of commodities NULL N
MCAR 05 Purchase Order Number NULL N
MCAR 06 Other NULL N
MCAR 07 Consignee Name NULL N
MCAR 08 VIN NULL N
FORMS Section
=========
JBCAI_ADD_INFO_CODE are the list items which needs to be populated; JBCAI_ADD_INFO_TEXT(free text) which user can enter any descriptions.
References - Label of the Block
JBCAI_ADD_INFO_CODE JBCAI_ADD_INFO_TEXT
Customs References 01 - Free Text()
Customs References 02 - Free Text()
Value of Commodities - Free Text()
Currency of commodities - Free Text()
Purchase Order Number - Free Text()
Other - Free Text()
Consignee Name - Free Text()
VIN - Free Text()
VIN - Free Text()
Business Rules:
If JBCAI_ADD_INFO_CODE has the flag as 'N' in CODES table then user can select only one time from the list item.
If JBCAI_ADD_INFO_CODE has the flag as 'Y' in CODES table then user can do multi-selection from the list item e.g; VIN
How the records are fetched:
Value for the list item are been populated from CODES table ; which am doing through the below query.
In WHEN-NEW-FORM-INSTANCE am using the below code:
PROCEDURE p_fetch_code_value
IS
l_query VARCHAR2(200) ;
l_rg_name VARCHAR2(40) := 'CODES';
l_errcode NUMBER;
l_rg RECORDGROUP;
BEGIN
l_query := 'SELECT adcod.description description,adcod.code_flag code_flag FROM codes adcod WHERE adcod.code_type = ''MCAR'' AND adcod.code_value IN (''01''''02'',''03'',''04'',''05'',''06'',''07'',''08'') ORDER BY code_value';
l_rg := FIND_GROUP( l_rg_name );
IF ID_NULL(l_rg) THEN
l_rg := CREATE_GROUP_FROM_QUERY(l_rg_name, l_query);
END IF;
l_errcode := POPULATE_GROUP( l_rg );
POPULATE_LIST('BLK_CONTROL.JBCAI_ADD_INFO_CODE',l_rg);
EXCEPTION
Handled WHEN OTHERS exception
END p_fetch_code_value;
Saving of Record:
List value selection are saved to JBCAI_JOB_COM_ADD_INFO.JBCAI_ADD_INFO_CODE column.
Free Text is saved to JBCAI_JOB_COM_ADD_INFO.JBCAI_ADD_INFO_TEXT column.
Doubt:
When i select the first list item value i.e Customs References 01 and then enter some description i.e free text and moved to the next list item; the value Custom reference 01 should not be visible wheras the other values should have to be visible e.g; Customs Reference 02,Value of Commodities.....
Please help and let me know how can i acccomplish this task?
Thanks....
Regards,
Sunil.GHi Sarah,
Thanks for your reply.
There is no issue in the population of the list item; it is working fine with the query which i have pasted.
My doubt is:
There are few places where i have set the code_flag as 'Y' / 'N'.
For the first time when user selects the list item; all the values should be shown.....
If user has selected the first list item i.e Customs Reference 01 for which the code_flag is 'N' from a multi-record block; then when he moves to the further lines the previous selection for which the flag is set as 'N' should not be shown(if user has already selected once) e.g; 'Customs Reference 01' should not be shown again if user has made the selection before.
Plz revert incase more explanations required.
Thanks...
Regards,
Sunil.G
Edited by: Sunil G on Nov 29, 2009 12:16 AM -
Dynamically Pass a list as input parameter to a Graphical Clac View
Hi All,
Can anyone please let me know if it is possible to pass a list of comma separated values as an input parameter to a graphical calculation view and how this list can be parsed inside the view?
The requirement is to invoke the graphical view using sql script.
Thanks,
GouthamHi Goutham,
Have a look on these documents:
Using Multiple Values in Input parameter for filtering in Graphical Calculation View
SAP HANA: Handling Dynamic Select Column List and Multiple values in input parameter
Regards,
Krishna Tangudu -
Oracle Forms List Items :not populating list Dynamically using select Query
Hi ,
I need to create a list item. And the values to be populated in the list are from Database but I'm unable to populate from database.
Please help me out how to populate the values from database.
In Property Pallete we have Elements in List under Functional section , In this we have to manually enter the List values but we can't use any Query to Dynamically populate.
Thanks,
Kiran SangaWhen you need to fill a list with the result of a query, you'll have to do it at runtime.
Andreas has a good blogpost about this. -
Hi all,
I want to change from a Text Field to a Select List item.
The list items should consist of 'Buyer' from a Linked_table in another Db.
Do I have to create a LOV (List of Value) or can I do it in another way?
//LasseEdit the item and change the Display As value from Text Field to Select List.
Then scroll down to the List of Values region and enter your query. Something like:
select buyer_name, buyer_id
from buyerThere is no need to create an LOV unless you plan on using the query in multiple forms.
Maybe you are looking for
-
Upload and ZIP a file (BLOB)
Hi I am trying to upload a file and zip it before saving it to the table. I am using 3.2 and 11g. I know of UTL_COMPRESS but that's not the format I am looking for. I am looking for a .zip file . I also tried this solution (http://joelkallman.blogspo
-
Using Automator Workflows in Mail
Hi there, just created an Automator workflow to filter received emails from a specific sender and subsequently saves the attachement to a folder... I set up a rule in mail that 2 days after receipt of an email form the sender runs the workflow: Unfor
-
hello, i were updatin my ipad, and then when it wasnt finished i came to take out the wire, the thing that sits in the iPad and now i cant do anything, its totally frozen, what can i do?
-
I want to change the color of the conditional build tag that I use for blocks of text within a topic. RH is forcing me to make the same change in each topic using the CBT. Is there any way to change the CBT color for all topics at once? I'm using RH
-
I have a new imac, i was wondering if u can put pocket CD-RW's in the cd/dvd drive??? would it get stuck or is it compatible? thx