How to get a selector to react to a changing cell value?
I am trying to overcome the apparent problem of unidirectional selectors in Xcelsius. They only input data into a cell but cannot respond to changing data in the cell.
My Xcelsius model is a collection of different screens that display groups of indicators and metrics, fairly standard.
I currently have two different navigation mechanisms:
(1) An accordion menu that is always visible on the left-hand side and
(2) an executive summary screen that shows an overview of all the metrics and allows the user to click and drill-down to metric-specific screens.
Both of these navigation methods drive visibility by inputing to one main control cell in my Excel model.
Example: The user selects metric #2 from the executive summary menu, it inserts a "2" in the control cell; then the user selects metric #3 from the accordion menu, and it inserts "3" into the control cell.
The problem is that it seems that all the selector components are <b>unidirectional</b>. They can only pass data <i>to</i> the spreadsheet, but do not react if that data is changed by another component. If you go back to my above example, if the user went back to the executive summary, they would see #2 selected and if they tried to click #2, they would not be able to because the list box component does not realize that my accordion menu has changed the selection to #3.
Is there any way to fix this? I want my UI component to change its displayed selection if another component changes the control cell.<!break>
No problem, glad I could help!
1. Although there are no plans to implement the feature for additional components at this time, it may be included in a future release.
2. Xcelsius components always have a selection made. Either the default selection when the SWF is ran or the value selected by the user. You may be able to work around this using Dynamic Visibility. Or, depending on your application, you can include a blank in your selector range and have that as the default. If the blank is at the end of your selector range, you would not be able to use the Ignore End Blanks feature (which you probably need to use for the dynamic selected item) so it would be necessary to insert it at the beginning of the range.
Similar Messages
-
How to get the username in a custom password change routine / procedure / form when a user's password has expired and is redirected automatically to this custom program?
We use the 2nd parameter in LOGIN_URL column in WWSSO_LS_CONFIGURATION_INFO$ table to get to this custom change-password proc.OK !
Use that maybe good :
select USERID into v_user from sys.aud$
where ntimestamp#=(
select max(ntimestamp#)
from sys.aud$ ); -
ICM 7.5-how to get individual outbound dialer calls talktime and respective ECC values
Hello,
I'm looking for following two items
1. Outbound dialer calls talktime in each call.
2. Each calls respective ECC values.
I have tried to get talktime from TCD table it’s shows zero value.
Please advice how to get above values, it would be much appreciated.
Thanks
Regards,
ParamHey Param,
You can use the PeripheralCallType in the TCD table to find dialer calls. Look for calls with:
PeripheralCallType IN ('27','28','29','30','31') for reservation calls and
PeripheralCallType IN ('32','33','34','35') for the customer calls
For duration of reservation calls look at the HoldTime value
For duration of the customer call you can look at the HoldTime + TalkTime + WorkTime for a total handle time for the customer leg of the dialer call
If you want to look at the ECC variables that were associated with that call you will have to lookup the Termination_Call_Variable table matching:
Termination_Call_Variable.TCDRecoveryKey = Termination_Call_Detail.RecoveryKey
Cheers,
Nathan -
How to get multiple row data in single row for one value of foreign key
i want to get data from a table in a way that all the emp_id corresponding to one manager_id
in employee table come in one row. (emp_id is the primary key and manager_id is the foreign key) Since there are different emp_id whose manager_id is same
so how can i get all the emp_id in one row .One way with 10g:
select mgr,
rtrim(xmlagg(xmlelement(empno,empno||',').extract('//text()')),',') emps
from emp
where mgr is not null
group by mgr;10g:
-- define this function:
create or replace
function concatenate(c Sys_refcursor, sep varchar2 default null) return varchar2
as
val varchar2(100);
return_value varchar2(4000);
begin
-- open c;
loop
fetch c into val;
exit when c%notfound;
if return_value is null then
return_value:=val;
else
return_value:=return_value||sep||val;
end if;
end loop;
return return_value;
end;
select mgr,
concatenate(cursor(select empno from emp e where e.mgr=emp.mgr order by empno),',')
from emp
where mgr is not null
group by mgr;With 11g:
select mgr,
listagg(empno,',') within group (order by empno) emps
from emp
where mgr is not null
group by mgr; -
How to get rid of "._" files when trans to cell phone?
I use a microSD to play mp3s on my LG chocolate (I know... i'll get an iPhone one day!).
The only problem is, if I drag-and-drop 30 songs to the card, when I use it on the phone, I now have 60 items, with 30 of them being duplicate titles with "._"
in front of the title and no way to delete them. These files do not play, of course. I am thinking they are not really "there."
I tried loading TinkerTool and showing invisible files on the card,but there was only 1, a DS store(?)file that I deleted. Didn't help. Is there any way to take care of those pesky pseudo-duplicates?Charles Williams8 wrote:
I use a microSD to play mp3s on my LG chocolate (I know... i'll get an iPhone one day!).
The only problem is, if I drag-and-drop 30 songs to the card, when I use it on the phone, I now have 60 items, with 30 of them being duplicate titles with "._"
in front of the title and no way to delete them. These files do not play, of course. I am thinking they are not really "there."
I tried loading TinkerTool and showing invisible files on the card,but there was only 1, a DS store(?)file that I deleted. Didn't help. Is there any way to take care of those pesky pseudo-duplicates?
<PRE>
</PRE>
Hi Charles,
Do you have an external card reader that accepts microSD media? It might be possible to delete the files this way. They are dirt cheap nowadays - SanDisk makes a 12-in-1 card reader for about $30.
Just curious - the Chocolate doesn't offer a "Delete" function in its media reader? (I have Verizon myself as well, but that phone never interested me...)
The "._" files are the resource forks that OS X uses to store additional data, as in a custom icon, for example.
It's part of how OS X manages files - files have data forks (the actual file) and resource forks (additional data). Assuming that the file has an applicable Windows application to read the file, PCs (in your case, the Chocolate) read the data fork just fine.
(for example, a Word .doc file created on a Mac will typically open fine on a PC)
However, Windows currently has no way to translate a resource fork, and thus will report it as a dummy "._filename" with no application to open it.
Steve -
Hi
Using SDDM 3.3.
How does one get to synchronise changes/differences in 'contexts' (defined in physical model - Oracle DB)?
I have tried to synchronize both ways, i.e. model to db and db to model, but never does it show the DDL necessary to create the missing context.
Yes, Context is selected/ticked under preferences for Oracle DB synchronization preferences.
Thank you & RegardsHi Philip
If I use the "generate DDL" option from the toolbar, it does generate DDL for the context I have in the physical model. I can select/deselect them in the DDL Generation Options window.
Why then would it not generate DDL when comparing the model with the database, i.e. using the "synchronise data dictionary to model" option? It successfully generates a 'patch'/change script for tables, views, packages, etc.?
Thank you & Regards
PS. I am asking for a way to get it to generate me a complete 'patch'/change script. -
How to get contacts from personal backup assistant to business cell...
I just received a business cell and I can access the backup assistant for that phone and sync it. I can do the same for my personal phone. How do I get my personal backup assistant contacts to my business phone?
Thank you very much.I would export the contacts from Back-up Assistant as a CSV file and then import them to the other account. I don't think there's any way to link them or otherwise get them to communicate directly.
-
How to get the total number of occurrences based on the value of a column.
Hello everyone,
This is the first time that I will ask question here on your forum but has been following several threads ever since. I guess that now is my turn to ask a question. So anyway here is the thing, I have a query that should return count the number of rows depending on the value of SLOT. Something like this:
WIPDATAVALUE SLOT N M
1-2 TRALTEST43S1 1 3
1-2 TRALTEST43S1 2 3
3 TRALTEST43S1 3 3
4-6 TRALTEST43S2 1 4
4-6 TRALTEST43S2 2 4
4-6 TRALTEST43S2 3 4
7 TRALTEST43S2 4 4-----
As you can see above, on the SLOT TRALTEST43S1, there are three occurrences so M (Total number of occurrences) should be three and that column N should count it. Same goes with the SLOT TRALTEST43S2. This is the query that I have so far:
SELECT DISTINCT
WIPDATAVALUE, SLOT
, LEVEL AS n
, m
FROM
SELECT
WIPDATAVALUE
, SLOT
, (dulo - una) + 1 AS m
FROM
SELECT
WIPDATAVALUE
, SLOT
, CASE WHEN INSTR(wipdatavalue, '-') = 0 THEN wipdatavalue ELSE SUBSTR(wipdatavalue, 1, INSTR(wipdatavalue, '-')-1) END AS una
, CASE WHEN INSTR(wipdatavalue, '-') = 0 THEN wipdatavalue ELSE SUBSTR(wipdatavalue, INSTR(wipdatavalue, '-') + 1) END AS dulo
FROM trprinting
WHERE (containername = :lotID OR SLOT= :lotID) AND WIPDATAVALUE LIKE :wip
) CONNECT BY LEVEL <= m
ORDER BY wipdatavalue;And that it results to something like this:
WIPDATAVALUE SLOT N M
1-2 TRALTEST43S1 1 2
1-2 TRALTEST43S1 2 2
3 TRALTEST43S1 1 1
4-6 TRALTEST43S2 1 3
4-6 TRALTEST43S2 2 3
4-6 TRALTEST43S2 3 3
7 TRALTEST43S2 1 1-----
I think that my current query is basing its M and N results on WIPDATAVALUE and not the SLOT that is why I get the wrong output. I have also tried to use the WITH Statement and it works well but unfortunately, our system cant accept subquery factoring.
I know you guys will be helping out because you are all awesome. Thanks everyone
Edited by: 1001275 on Apr 19, 2013 8:07 PM
Edited by: 1001275 on Apr 19, 2013 8:18 PMHi,
Sorry, it's still not clear what you want.
Are you saying that, given this table:
CREATE TABLE trprinting
WIPDATAVALUE VARCHAR2(255)
, SLOT VARCHAR2(255)
INSERT INTO trprinting (wipdatavalue, slot) VALUES ('1-2', 'TRALTEST43S1');
INSERT INTO trprinting (wipdatavalue, slot) VALUES ('3', 'TRALTEST43S1');
INSERT INTO trprinting (wipdatavalue, slot) VALUES ('4-6', 'TRALTEST43S2');
INSERT INTO trprinting (wipdatavalue, slot) VALUES ('7', 'TRALTEST43S2');you want to produce this output:
WIPDATAVALUE SLOT N M
1-2 TRALTEST43S1 1 3
1-2 TRALTEST43S1 2 3
3 TRALTEST43S1 3 3
4-6 TRALTEST43S2 1 4
4-6 TRALTEST43S2 2 4
4-6 TRALTEST43S2 3 4
7 TRALTEST43S2 4 4? If so, here's one way:
WITH got_numbers AS
SELECT wipdatavalue
, slot
, TO_NUMBER ( SUBSTR ( wipdatavalue
, 1
, INSTR ( wipdatavalue || '-'
) - 1
) AS low_number
, TO_NUMBER ( SUBSTR ( wipdatavalue
, 1 + INSTR ( wipdatavalue
) AS high_number
FROM trprinting
SELECT wipdatavalue
, slot
, ROW_NUMBER () OVER ( PARTITION BY slot
ORDER BY low_number
) AS n
, COUNT (*) OVER ( PARTITION BY slot ) AS m
FROM got_numbers
CONNECT BY LEVEL <= high_number + 1 - low_number
AND low_number = PRIOR low_number
AND PRIOR SYS_GUID () IS NOT NULL
ORDER BY low_number
, n
;Much of the complexity here is caused by storing 2 numbers in 1 VARCHAR2 column, wipdatavalue. Relational databases work best when there is no more than 1 item in any given column of any given row. This is so basic to datbase design that it is called First Normal Form. Also, numbers belong in NUMBER columns, not VARCHAR2. If you stored your data like that in the fist place, then you wouldn't need the sub-query I called got_numbers, which is about 60% of the code above. (That could be reduced by replacing SUSTR and INSTR with the less efficient REGEGP_SUBSTR.) -
How to get the XML TAG name itself instead of TAG value
Hi All,
I have a question here
I want to retrieve the XML tag from a XML file instead of its value.
Example:
<item>Colgate</item>
Now I want to retrieve "item" as output from XPath expression, I dont want its value as "colgate"
How to do that...?
Thanks
-PraveenYou can do this with an axes XPatch expression:
child::node()/name()
For more info see: http://www.w3schools.com/xpath/xpath_axes.asp
HTH,
Bas -
How to get the name of user who last changed the settings of process chain
Hi All,
I have a process chain which runs daily. At one atep it would load data till PSA then there was a separate process to update data from PSA. But recently someone changed the settings and data is loaded in PSA and data target in parallel. But the process update data from PSA is also there still and as a result giving error as data already reached infocube. I wish to know who changed the settings. I searched and found about tcode SGL1 but not getting any fruitful result. Can anyone pls suggest anything.
Thanks in advance,
SanandaHi There,
In your case, nobody has changed the settings in process chains. However, it appears that someone has changed the Processing mode in the Info package. Since now the infopackage has already run after the change was made, I don't think there is any way to find who has changed the setting in the infopackage.
However, the solution would be to just switch back the processing mode from "PSA and Data Targets in Parallel" to "Only PSA".
Regards,
Hemant Khemani -
How to get all partner guids with a specific marketing attribute value?
Hello,
is there a method or function module in Standard which i could use in my own coding to get all partners (guids or number) with a specifiic marketing attribute and a specific value of this attribute?
Thank you
Best regards
ManfredHi,
Use the FM: CRM_MKTBP_READ_BP_SEL_ATTR
pass the input parameter in IS_CHARVALUE in the field SEL_ATTR as the attribute name.
Output will be displayed in the table ET_PARTNER_VALUES as partner guid's
Regards,
PP -
How to get rows where a varchar column contain pure numeric value
hi,
i have to make a query from a table that return only the rows where the occurrences of a string column contain a pure numeric value
for example my table MYTABLE have the column COL1 varchar2(100)
with values
row 1 : '100'
row 2 : '101 dalmatiens'
row 3 : '102'
row 4 : 'anything'
i want to get only the rows 1 and 3 which are pure integer so i can sort and compare them like number.
thanksSQL> with rt as
2 (select '100' str from dual union all
3 select '101 dalmatiens' from dual union all
4 select '102' from dual union all
5 select '103 #$&''() 456' from dual union all
6 select 'anything' from dual)
7 /* End of sample data (rt) */
8 select str
9 ,trim(translate(str,'1234567890'||str,'1234567890')) num
10 from rt
11 where trim(translate(str,'1234567890'||str,'1234567890')) is not null;
STR NUM
100 100
101 dalmatiens 101
102 102
103 #$&'() 456 103456
-- Oooooops, I misread and now have corrected it
SQL> with rt as
2 (select '100' str from dual union all
3 select '101 dalmatiens' from dual union all
4 select '102' from dual union all
5 select '103 #$&''() 456' from dual union all
6 select 'anything' from dual)
7 /* End of sample data (rt) */
8 select str
9 ,trim(translate(str,'1234567890'||str,'1234567890')) num
10 from rt
11 where trim(translate(str,'1234567890'||str,'1234567890')) = str;
STR NUM
100 100
102 102Message was edited by:
ushitaki -
How to get all rows/cols in pivot even if fact values are not available
If I have a a result set and then pivot on it then only the side/top labels appear for items with fact values. Is there any way to achieve the following :
Result Set gives the following pivot table
Area1 Area3
country 1 100 10
country 3 200 20
If there any way to ensure that pivot shows all row and column values and then fills in 0 for the missing facts ?
ie.
Area1 Area2 Area3
Country1 100 0 10
Country2 0 0 0
Country3 200 0 20
hope this makes sense. Basically I have a static format Excel report that the information is exported to and sometimes at the beginning of the month the daily report does not show all rows.
Thanks
Kevinouter join your dimensions to the facts so that all the dimensions are there
-
How to make choices in a drop down box change a value in another box
Hi, I am fairly new to the world of creating forms in Adobe so please bear with my question if it seems simple. I have seen where a lot of people are using code and I am very confused. I am creating an order form and have created a drop down box (combo box). There are 4 choices in this drop down box. When the user chooses one of these choices, I would like an amount to appear in a seperate box. Each choice would have a different amount. Is this possible? If so, could someone please give me step by step instructions. I appreciate any help given!!
Yes, the best way would be to set your 'Amount' value into the 'Export Value' for each item in the combobox. Then, you can set the calculation for your text field to the following (Be sure to change "ComboBox1" to the name of your combobox):
var f = this.getField("ComboBox1");
var a = f.currentValueIndices;
var s
if (typeof a == "number") {// a single selection
s = (f.value);
event.value = s -
How to Fill list in excel based on another columns cell value
Hello,
I am facing issue while binding data to list i want to bind list or filter list based on another columns cell valueIf your list is a series of rows with column headers like the following:
Column A
Column B
1
Apple
1
Banana
1
Orange
2
Pineapple
2
Cucumber
2
Watermelon
Then you can do this will Excel's built in filter functions. If you select the entire data table and then go to "DATA" then click the "FILTER" button a drop down will appear next to both headers (Column A and Column B in this case). You
can then select the data you would like filtered from either column and Excel will hide that entire row.
If this is not what you are looking for please post some examples of what you are trying to see.
Maybe you are looking for
-
Problem with Proficiency scale (PD) in ESS
Whenever we create qualification update through PA30 or ESS, the system will allow us to save the record without selecting any proficiency scale, i.e., blank proficiency scale "0". Can we make that field mandatory, so that users have to select someth
-
I cannot scroll photos with 2 finger swipe
i cannot perform the 2 finger scroll while viewing pictures using iphoto.
-
How to Configure Webutil in Oracle 10g Developer Suit
Dear All, How to Configure Webutil in Oracle 10g Developer Suit. Please give me the step by step solution. Thanks and Regards, Fazil
-
Pidgin opening Hotmail in Firefox?
Hi, I am confused about setting up Pidgin to allow Hotmail email box to open in Firefox.... do I need to edit prefs? Help! :-) MrG
-
Hello I hope to be back to activate my account