type in the list of columns SCRIPTUI
Hi guys,.
I have a terminology database that I created and I would like to add a feature that allows users to type in the edittext field to search for items in col1.
Here is my code for the columns and the edittext field:
var column = w.add('group{multiselect:true}');
Columns.Spacing = 0;
CGEM var = [0,0,200,600];
var col1 = columns.add ("listbox", CGEM, ["Dorsiflexion", "Field", "Trans-tibiale", "Trans-fémorale"]);
var col2 = columns.add ("listbox", CGEM, ["Dorsiflexion", "Field", "Party", "Transfémoral"]); French
var col3 = columns.add ("listbox", CGEM, ["Dorsiflexion", "Field", "Trans-tibiale", "Trans-fémorale"]); German
var col4 = columns.add ("listbox", CGEM, ["Dorsiflexion", "Field", "Transtibial", "Transfemorale"]); Italian
var col5 = columns.add ("listbox", CGEM, ["Dorsiflexion", "Field", "Party", "Security"]); Spanish
var col6 = columns.add ("listbox", CGEM, ["Dorsiflexion", "Field", "Trans-tibiale", "Trans-fémorale"]); Norwegian
col7 var = columns.add ("listbox", CGEM, ["Dorsiflexion", "Field", "Trans-tibiale", "Trans-fémorale"]); Russian
var col8 = columns.add ("listbox", CGEM, ["Dorsiflexion", "Field", "Trans-tibiale", "Trans-fémorale"]); Turkish
col1. Selection = 0;
{col1. OnDoubleClick = Function ()}
entry. Text = col1. Selection;
};
{col2. OnDoubleClick = Function ()}
entry. Text = col2. Selection;
};
{Col3.OnDoubleClick = Function ()}
entry. Text = Col3.Selection;
};
{Col4.OnDoubleClick = Function ()}
entry. Text = Col4.Selection;
};
{col5. OnDoubleClick = Function ()}
entry. Text = col5. Selection;
};
{col6. OnDoubleClick = Function ()}
entry. Text = col6. Selection;
};
{col7. OnDoubleClick = Function ()}
entry. Text = col7. Selection;
};
{COL8. OnDoubleClick = Function ()}
entry. Text = COL8. Selection;
};
var user_input = w.add ('group')
entry var = user_input.add ("'edittext', dimH, ' click on the button to the right to convert lowercase");
entry. Characters = 30;
entry. Alignment = 'left';
entry.active = true;
converting the vars = user_input.add ('button', undefined, "Convert to lowercase");
convert.onClick = function () {entry.text = entry.text.toLowerCase () ;}
user_input.orientation = 'row';
user_input. Alignment = 'left';
Everyone here is so helpful.
Thank you
Jake
There are some examples of upcoming type here:
https://INDD.Adobe.com/view/a0207571-ff5b-4bbf-A540-07079bd21d75
Moreover, the group object is the multiselect property.
Peter
Tags: InDesign
Similar Questions
-
What controls the order of the types in the list of paette type
TS2012
I have a bunch of custom in my file of sequence types, and when I go to the range of types and look at the types associated with my file in sequence, they are in the 'disorder' which is not very useful for me - I would have preferred that they are in a specific order which groups them according to the category of tasks they do. Basically, I want to be able to manaully specify the order of the types. Worse still, as I modify some types, their order and after the editing changes they get inserted somewhere else in the middle of the list (not very useful).
The sequence that the user interface of the editor does not provide a way to 'Capture' a type and drag around manually update the order, or be able to sort the headers of columns for the type palette. (Heck - which would be too convenient here).
So... try to reverse this engineer and get there myself.
There seems to be 2 different pieces of possible orders of the information for the types that I can find.
(1) order that they exist in the file in sequence if I save it in XML format and begin reading from the top down.
(2) the specific type typelistordernum
I have a case where, if I open the pallet type in the sequence editor, I see
TypeA
TypeB
TypeC
Typed
TypeE
If I open the file in the sequence in the text editor, I see
Typed (typelistordernum 49)
TypeE (typelistordernum 50)
TypeC (typelistordernum 51)
TypeB (typelistordernum 52)
TypeA (typelistordernum 29)
The order in the movie file, or the order number of type list seems to dictate the order that they appear in the range of types of the sequence editor.
I checked that each type in the example are ONLY used in this file a sequence - not shared in any other type of sequence pallets or files of type.
If I write code to load the sequence file, obtain a reference to it, it cast to a propertyObjectFile and retrieve the TypeUsageList for this file, I get an ordered list that corresponds to the order of typelistordernum. I can call the MoveType against this TypeUsageList method to reorder the items in the list type and save the file in the sequence. The next time I open the file in the sequence, the tool retrieves the TypeUsageList for the file of the sequence in question and the order and numbers are the same that I saved the last time, but the order types as seen from the range of types of Sequence Editor is no different (my sorting tool did not help to this point of view).
All the suggestions here about what is happening, and how can I do feel how the order types is displayed in the palette of type sequence editor, and what I can do to get my types of "sort" I like.
(1) Yes, you can reorganize the types according to the type via drag and drop. At least since the 2012 version of TS this works reliably.
(2) the typelistordernum defines the order types are displayed in the view of types.
(3) you can sort the columns in the view types.
Maybe you accidentally sorted one of the columns in the view of types and the sequence editor is forgetting that for what you see is actually the order sorted, based on one of the columns.
I'm sure that drag - move is disabled when you have a sort column so this explains very well what you see. Check your headers to sort for this point of view and make sure that you do not have up and down arrows.
Hope this helps,
-Doug
-
Hi, need help with the following:
CREATE TABLE tbl_1 ( rec_id NUMBER(9), col1 NUMBER(9), col2 NUMBER(9), col3 NUMBER(9), col4 NUMBER(9)) / CREATE TABLE tbl_2 ( rec_id NUMBER(9), col1 NUMBER(9), col2 NUMBER(9), col3 NUMBER(9), col4 NUMBER(9), col5 NUMBER(9), col6 NUMBER(9)) / INSERT INTO tbl_1 VALUES (101, 11, 21, 31, 41); INSERT INTO tbl_1 VALUES (102, 12, 22, 32, 42); INSERT INTO tbl_1 VALUES (103, 13, 23, 33, 43); INSERT INTO tbl_1 VALUES (104, 14, 24, 34, 44); INSERT INTO tbl_2 VALUES (101, 1, 1, 1, 1, 1, 1); INSERT INTO tbl_2 VALUES (102, 1, 1, 1, 1, 1, 1); INSERT INTO tbl_2 VALUES (103, 1, 1, 1, 1, 1, 1); INSERT INTO tbl_2 VALUES (104, 1, 1, 1, 1, 1, 1); INSERT INTO tbl_2 VALUES (105, 1, 1, 1, 1, 1, 1); COMMIT ; --Create procedure pr_upd(col_list) passing list of columns which has to be updated in TBL_2 with values from TBL_1 --for example if pr_upd ('col1,col3' ) called then only col1 and col3 updated in tbl_2 (with values from TBL_1) --After procedure pr_upd ('col1,col3' ) called: SELECT * FROM TBL_2 REC_ID COL1 COL2 COL3 COL4 COL5 COL6 101 11 1 31 1 1 1 102 12 1 32 1 1 1 103 13 1 33 1 1 1 104 14 1 34 1 1 1 105 1 1 1 1 1 1
You will need to use dynamic SQL statements. Something like
CREATE OR REPLACE PROCEDURE pr_upd( p_col_list in varchar2 ) AS l_sql varchar2(1000); BEGIN l_sql := 'UPDATE tbl_2 ' || ' SET (' || p_col_list || ') = ' || ' (SELECT ' || p_col_list || ' FROM tbl_1 ' || ' WHERE tbl_1.rec_id = tbl_2.rec_id )' || ' WHERE EXISTS ( ' || ' SELECT 1 ' || ' FROM tbl_1 ' || ' WHERE tbl_1.rec_id = tbl_2.rec_id )' ; EXECUTE IMMEDIATE l_sql; END;
which product
SQL> CREATE OR REPLACE PROCEDURE pr_upd( p_col_list in varchar2 ) 2 AS 3 l_sql varchar2(1000); 4 BEGIN 5 l_sql := 6 'UPDATE tbl_2 ' || 7 ' SET (' || p_col_list || ') = ' || 8 ' (SELECT ' || p_col_list || 9 ' FROM tbl_1 ' || 10 ' WHERE tbl_1.rec_id = tbl_2.rec_id )' || 11 ' WHERE EXISTS ( ' || 12 ' SELECT 1 ' || 13 ' FROM tbl_1 ' || 14 ' WHERE tbl_1.rec_id = tbl_2.rec_id )' ; 15 EXECUTE IMMEDIATE l_sql; 16 END; 17 / Procedure created. SQL> exec pr_upd ('col1,col3' ); PL/SQL procedure successfully completed. SQL> select * from tbl_2; REC_ID COL1 COL2 COL3 COL4 COL5 COL6 ---------- ---------- ---------- ---------- ---------- ---------- ---------- 101 11 1 31 1 1 1 102 12 1 32 1 1 1 103 13 1 33 1 1 1 104 14 1 34 1 1 1 105 1 1 1 1 1 1 SQL>
Justin
-
When I right click on the list box column Multi that I should get the custom options
Hi all
In my application, I want to display the custom user menu when it right-click on the Multi column list box. I want to know is - it possible to do like this. Please can someone help me on this?
in abow picture I get "reset default value, cut, copy the data, past data" so I need to set other options.
Kind regards
Santhosh M
Hi santosh,.
This one is much better.
-
How to do a check without having to type all the names of columns?
Hi all
I want to create a trigger on other tables (suppose that it contains 50 columns) to record operations data DML thereof on another table (table_name, FIELD_NAME, OLD_VALUE new_value)
If I want to, I can write in the trigger (before insert, update, delete):
If the update can
insert into audit_tab (FIELD_NAME, OLD_VALUE, TABLE_NAME, new_value) values ('TRACKED_TABLE', 'COL1': OLD.) COL1,: NEW. COL1);
and repeat 50 times this insert statement for all 50 columns!
Is it possible to get the name of the column and its value (using data dictionary views for example all_tab_columns or other means) to write the insert statement once especially, I have to create this trigger on a large number of tables too which means repeat the insert of hundreds of times maybe!
Is this clear?
Note: I use Oracle DB 10 g
Thank you
example:
SQL > select ' insert into audit_tab (field_name, old_value, table_name, new_value) values ("' |) TABLE_NAME | " ','' ' || column_name | " ',: ANCIENT.' | column_name |',: NEW.'. column_name |') ; "
user_tab_columns 2
3 where table_name = 'EMP '.
4 order of column_id;' INSERTINTOAUDIT_TAB (TABLE_NAME, FIELD_NAME, OLD_VALUE, NEW_VALUE) VALUES('''||) TABLE_NAME | " ','' ' || COLUMN_NAME | " ',: ANCIENT.' | COLUMN_NAME |',: NEW.'. COLUMN_NAME |') ; "
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
insert into audit_tab (field_name, old_value, table_name, new_value) values ('EMP', 'EMPNO',: OLD.) EMPNO,: NEW. EMPNO);
insert into audit_tab (field_name, old_value, table_name, new_value) values ('EMP', 'ENAME',: OLD.) ENAME,: NEW. ENAME);
insert into audit_tab (field_name, old_value, table_name, new_value) values ('EMP', 'JOB': OLD.) JOB: NEW. JOB);
insert into audit_tab (field_name, old_value, table_name, new_value) values ('EMP', 'MGR',: OLD.) MGR,: NEW. MGR);
insert into audit_tab (field_name, old_value, table_name, new_value) values ('EMP', 'HIREDATE',: OLD.) HIREDATE,: NEW. HIREDATE);
insert into audit_tab (field_name, old_value, table_name, new_value) values ('EMP', 'SAL',: OLD.) SAL: NEW. SAL);
insert into audit_tab (field_name, old_value, table_name, new_value) values ('EMP', 'COMM',:OLD.COMM,:NEW.COMM);
insert into audit_tab (field_name, old_value, table_name, new_value) values ('EMP', 'DEPTNO': OLD.) DEPTNO,: NEW. DEPTNO);8 selected lines.
-
the list of columns separated by commas of a dictionary table table
I use the following question.
CONNECT_BY_ROOT SELECT table_name TopLevel, level,
connect_by_isleaf IS_Node_leaf,
substr (SYS_CONNECT_BY_PATH (column_name, ','), 2) column_name
Of all_tab_cols
where connect_by_isleaf = 1
and column_id < (select max (column_id) + 1 all_tab_cols
where table_name = 'Table_test')
and column_id > (select min (column_id) - all_tab_cols 1
where table_name = 'Table_test')
START WITH table_name = "Table_test."
CONNECT BY PRIOR column_id = nocycle (column_id - 1).
AND table_name = "Table_test."
The only problem with this query is that it goes into infinite loop. Can someone suggest a better solution?Why you ask all_tab_cols, I think will realize you that it will pull all tables in your database.
If you want to retrieve the name of the table and the columns (separated by commas) your schema, you must query user_tab_cols.
and here is the sql code
select table_name,ltrim(sys_Connect_by_path(column_name,','),',') column_names from (select table_name,column_name,row_number() over (partition by table_name order by column_id) rn from user_tab_cols) where connect_by_isleaf = 1 start with rn=1 connect by prior rn=rn-1 and prior table_name = table_name /
Or, you can use all_tab_cols to query a specific table by passing the name of the table and the name of the owner
PRAZY@11gR1> desc test Name ------------------------------------------- NUM NUM2 PRAZY@11gR1> select table_name,ltrim(sys_Connect_by_path(column_name,','),',') column_names from (select table_name,column_name,row_number() over (partition by table_name order by column_id) rn from all_tab_cols where owner='PRAZY' and table_name = 'TEST') where connect_by_isleaf = 1 start with rn=1 connect by prior rn=rn-1 and prior table_name = table_name / PRAZY@11gR1> / TABLE_NAME COLUMN_NAMES ------------------------------ ---------------------------------------- TEST NUM,NUM2 Elapsed: 00:00:00.01
HTH,
PrazyPublished by: Prazy on April 28, 2010 10:23
-
I can enlarge my messages and most of the other things (windows 8) but the list of the messages themselves seems not adjustable causing forced look. Any adjustments found to apply to the message but none seem to apply to the list of columns.
https://addons.Mozilla.org/en-us/Thunderbird/addon/theme-font-size-changer/
-
What does that mean? ORA-32039: WITH recursive clause must have list of column aliases
What does that mean? If I have alias each column in the clause, I get the same error. I noticed that if I replace this point of view abw_v_exist_mbr_alt_hierarchy , with a statement select hard-coded query works.
ORA-32039: WITH recursive clause must have list of column aliases
[code]
with bridge as)
SELECT
AVS.pontis_bridge_id,
AVS.super_struct_name structure_name,
ALV.name vehicle_name,
AVS.inv_rf inv_rating_factor,
AVS.opr_rf opr_rating_factor,
AVS.post_rf legal_rating_factor,
AVS.safe_rf permit_rating_factor,
sys_type_display. Display inv_rating_method,
AVS.up_to_date_ind,
AE.event_descr,
AE.event_timestamp,
AP.username,
AVS.event_id,
SYS_TYPE_IMPACT. Display sys_type_impact,
SYS_TYPE_LANE. Display sys_type_lane
Of
(SELECT
AVEMAH.pontis_bridge_id,
AVEMAH.super_struct_name,
ARRS.vehicle_id,
min (ARRS.inv_rf) inv_rf,
min (ARRS.opr_rf) opr_rf,
min (ARRS.post_rf) post_rf,
min (ARRS.safe_rf) safe_rf,
ARRS.design_method_type,
ASMAE.event_id,
ASMAE.up_to_date_ind,
ARRS.impact_loading_type,
ARRS.lane_loading_type
Abw_v_exist_mbr_alt_hierarchy AVEMAH, abw_spng_mbr_alt_events ASMAE, abw_rating_results_summary ARRS
WHERE
AVEMAH.bridge_id = ASMAE.bridge_id
and ASMAE.bridge_id = ARRS.bridge_id
and AVEMAH.struct_def_id = ASMAE.struct_def_id
and ASMAE.struct_def_id = ARRS.struct_def_id
and AVEMAH.super_struct_mbr_id = ASMAE.super_struct_mbr_id
and ASMAE.super_struct_mbr_id = ARRS.super_struct_mbr_id
and AVEMAH.super_struct_spng_mbr_alt_id = ASMAE.super_struct_spng_mbr_alt_id
and ASMAE.super_struct_spng_mbr_alt_id = ARRS.super_struct_spng_mbr_alt_id
and ASMAE.event_id = ARRS.event_id
and ASMAE.results_use_type = 37601
GROUP OF AVEMAH.pontis_bridge_id, AVEMAH.super_struct_name, ARRS.vehicle_id, ARRS.design_method_type, ASMAE.event_id, ASMAE.up_to_date_ind, ARRS.impact_loading_type, ARRS.lane_loading_type
) AVS.
abw_lib_vehicle BIANCO,
abw_event AE,
abw_person AP,
abw_sys_type sys_type_display,
abw_sys_type sys_type_impact,
abw_sys_type sys_type_lane
WHERE AVS.event_id = AE.event_id
AND AE.entered_by = AP.person_id
AND AVS.vehicle_id = ALV.vehicle_id
AND AVS.impact_loading_type = SYS_TYPE_IMPACT.sys_type
AND AVS.lane_loading_type = SYS_TYPE_LANE.sys_type
AND AVS.design_method_type = sys_type_display.sys_type)
Select
t.pontis_bridge_id BRIDGE_NAME,
t.event_timestamp LOAD_RATING_DATE,
MAX (CASE WHEN t.vehicle_name = 'HL-93 (US)' THEN round (t.inv_rating_factor, 2) ELSE NULL END) LOAD_RATING_HL93_INV_FACTOR,.
MAX (CASE WHEN t.vehicle_name = 'HL-93 (US)' THEN round (t.opr_rating_factor, 2) ELSE NULL END) LOAD_RATING_HL93_OP_FACTOR,.
Max(case when t.vehicle_name = 'H 20-44' Then trunc (t.inv_rating_factor * 36) of OTHER END NULL) H_INV_RATING_TONS,.
Max(case when t.vehicle_name = 'H 20-44' Then trunc (t.opr_rating_factor * 36) of OTHER END NULL) H_OP_RATING_TONS,.
Max(case when t.vehicle_name = 'HS 20-44' Then trunc (t.inv_rating_factor * 36) of OTHER END NULL) HS_INV_RATING_TONS,.
Max(case when t.vehicle_name = 'HS 20-44' Then trunc (t.opr_rating_factor * 36) of OTHER END NULL) HS_OP_RATING_TONS,.
Max(case when t.inv_rating_method='LRFR' Then trunc (t.inv_rating_factor * 36) of OTHER END NULL) LRFR_INV_RATING,.
Max(case when t.opr_rating_method='LRFR' Then trunc (t.opr_rating_factor * 36) of OTHER END NULL) LRFR_OP_RATING,.
Max(case when t.vehicle_name = 'SU4' Then Round (t.legal_rating_factor, 2) of OTHER END NULL) LOAD_RATING_SU4_LEGAL_FACTOR,.
Max(case when t.vehicle_name = 'Type 3S2' Then Round (t.legal_rating_factor, 2) of OTHER END NULL) LOAD_RATING_3S2_LEGAL_FACTOR,.
Max(case when t.vehicle_name = 'Type 7 divisible Load Vehicle' Then Round (t.permit_rating_factor, 2) of OTHER END NULL) LOAD_RATING_TYP7_PERM_FACTOR,.
Max(case when t.vehicle_name = 'Type 6A divisible Load Vehicle' Then Round (t.permit_rating_factor, 2) of OTHER END NULL) LOAD_RATING_TYP6A_PERM_FACTOR,.
MAX (CASE WHEN t.vehicle_name = 'HL-93 (US)' THEN round (t.permit_rating_factor, 2) ELSE NULL END) LOAD_RATING_HL93_PERM_FACTOR,.
(CASE WHEN t.inv_rating_method = 1 THEN 'LFD'
WHEN t.inv_rating_method = 'ASD' THEN 2
WHEN t.inv_rating_method = 'LRFD' THEN 3
WHEN t.inv_rating_method = 'LRFR' THEN 8 ELSE NULL END) LOADRATE_METHOD_ID,.
t.UserName LOAD_RATING_SUBMITTED_BY
Bridge t,.
(select q.pontis_bridge_id, max (q.event_timestamp) max_et
Bridge q
where q.impact_loading = 'as requested.
and q.lane_loading = 'as requested.
Q.pontis_bridge_id group) max_event_timestamp
where t.impact_loading = 'as requested.
and t.lane_loading = 'as requested.
and t.pontis_bridge_id = max_event_timestamp.pontis_bridge_id
and t.event_timestamp = max_event_timestamp.max_et
and t.username = 'PCAMPISI. '
GROUP BY
t.pontis_bridge_id,
t.event_timestamp,
t.UserName,
t.inv_rating_method;
[/ code]
You must use the database version 11.2, right?
ORA-32039: WITH recursive clause must have list of column aliases
Cause: A query clause called WITH itself (recursive) but do not have a list of aliases for column specified to him.
Action: Add a list of column alias for the WITH clause query name.
See:
Example (you add the list of columns in the "BOLD" part / underlined below):
WITH
reports_to_101 (emp_last, mgr_id, eid, reportLevel) AS
(
SELECT employe_id, last_name, manager_id reportLevel 0
Employees
WHERE employee_id = 101
UNION ALL
SELECT e.employee_id, select, e.manager_id, reportLevel + 1
Reports_to_101 r, e employees
WHERE r.eid = e.manager_id
)
SELECT mgr_id, reportLevel, emp_last and eid
OF reports_to_101
ORDER BY reportLevel, eid;
-
How to get a list of column names
Hello
I need to test the list of column names that are present in the table with my column list who are in excel. Currently im using Toad, if you press f4 on the name of the table, it will display
. But I need a sql query to check it out.
I tried user_tables; not work and tried with information_schema.columns but table does not exist error coming.How to get those details using sql querry.
SELECT column_name
Of all_tab_cols
WHERE table_name = 'name of the Table.
or
SELECT column_name
Of all_tab_cols
WHERE table_name = 'name of the Table.
AND owner = 'name of the owner.
-
The limit to the number of columns to display in the report. Help!
Hi all
Maybe this is a stupid question. But why get this error with a report of the IR? and what is the solution for this. Please help me with this.
Error
The limit to the number of columns to display in the report. Please, click on select columns under Actions menu to minimize the list of columns in report view.
Oh... And I also have a blob column... If the format is not given, the table is very good... but happen to get this error only when the BLOB download format is given.
Thanks and greetings
John
Published by: JB on March 30, 2012 11:08Hello
I implemented a small suitcase of test on apex.oracle.com and I get the error even if I use the download format.
I have a table
test_blob (identification number, name varchar2 (10), blobcont blob)If I create IR as
select id, name, blobcont from test_blob
and then I set the download format I got the error.
If you want this to work you need to change your query to
select id, name, dbms_lob.getlength(blobcont) blobcont from test_blob
And there still define download for blob on column blobcont format.
Kind regards
Aljaz -
Setting of the names of columns in the query in PivotChart
Hi all
I have columns for the wrong parameter names in a PivotChart query and I was wondering if someone could help me please understand me what I need to do.
Help me help you, I have set up an example scenario in my hosted account. Here's the info to connect to my site hosted at [http://apex.oracle.com]
And here's my test request info:Workspace: MYHOSTACCT Username : DEVUSER1 Password : MYDEVACCT
Please forgive the excessive for this example standardization, as I wanted to keep the table structure similar to my actual application, that has a lot more going on.ID : 42804 Name : dynamic query test Page : 1 Table 1: PROJECT_LIST (Alias = PL... Listing of Projects) Table 2: FISCAL_YEAR (Alias = FY... Lookup table for Fiscal Years) Table 3: PROJECT_FY (Alias = PF... Intersection table containing project fiscal years) Table 4: PROJECT_FY_HEADCOUNT (Alias = PFH... Intersection table containing headcount per project and fiscal year)
In my example, I have in the region to "Select the criteria", where the user specifies the project and the range of exercise that he or she would like to report. Click on the search button, and the report refers staff of revolving project for the range of the financial year.
I've got it works using a query hardcoded, which is displayed in the region of the "hard-coded query." In this query, I have basically come back every year and to lay down the conditions on each column that determines if this column should be displayed or not according to the selected user. While this works, it is not ideal, because there could be several years more to take into account, and is not very dynamic. Any time an exercise is added to the table of FISCAL_YEAR, I update this page.
So, after reading all the forums pivot OTN SQL and thread pivot "ask Tom", I was able to create a second region labeled "Dynamic motion" in which I created a dynamic query to return the same results. It of a much more intuitive solution and works very well; However, the column names are generic in the report.
I had to put the query to analyze at runtime, because the list of column selection is dynamic, which violates the rules of SQL. Can someone help me please how can I specify my column names in the area of dynamic query to get the values of column even I receive in the region of hardcoded to understand?
Please let me know if you need more information and thanks a lot in advance!
MarkTake a look at your request now. I added a function in your workspace, change the headers to be pl/sql base, added an element hidden to contain the query you create and pass in the service to get your item headers...
Thank you
Tony Miller
Webster, TXOn the road of life... He has "windshield", and there are "bugs".
(splat!)
"Squeegees wanted."If you answer this question, please mark the thread as closed and give points where won...
-
Select the list with propose pulling the values of %
Hi all
I have a tabular presentation of data app and from views of the choices selected in the 'list of selection with submit' the post, it works very well for the chosen values, when I choose '%' I want to display all existing records in the form of tables, but instead he said: "no data found". How to solve this? Kindly help and advice.
ex:
Query tabular-
Select a, b
table
When a type: POINT
Agenda:
Type: select the list to submit
Named LOV:
Select a d, a r
from table_recherche by 1
Receive your answer.
Thank you and best regards,
SenanaHello
You have to check what is the value returned by the selection list when you select '%' in the select...
There is a null value to display field where you can enter '%' and the return NULL value you enter 0then change your query in a table
Select a, b from table when one like: POINT GOLD: ITEM = 0Kind regards
Shijesh -
How to get a list of columns that return RemoteObject result?
I have a remoteObject that retrieve a result of a database calls and fills to a datagrid control. I would like to see if I can get a list of the names of columns that return the remoteObject calls and then to complete the list of columns in a comBox. How can I get a list of the column names returned?
Thank youcheck if the result has values, I guess that its table
for (var a: String in event.result [0])
Alert.Show ("column name:"+ a "); -
Editable interactive report. To change the list column dropdown type filter.
Hi all, I thought I had posted this, but I can't find my post, so apologies if it turns up to twice more...
XE SUMMIT 4.2 11.2
Ive created an editable interactive report... Everything works very well, and I have several Text, LOV and selection list columns...
However when I now click on a column header to filter, sort etc drop-down list is the same format as the column itself. So if for example, I have a text box, then the drop-down list is also text boxes, if the column is a column LOV, the filter drop-down list is a list of fields LOV. (Im assuming this is correct behavior, because it simply inherits the column parent..) So, I would change the lists to a list of standard display so that they are in order and can be used...
I think so? I know I have to do, which is either to substitute the function that generates the dropdown filter... or probably more simply, write a bit of JS/JQuery that modify data for drop-down lists. Im still to learn, some help would be appreciated...
I think so. (and please correct me if I'm talkiing... garbage) I need to find each of the appearance of the DIV with the ID that corresponds to the drop-down list box, and then loop through each entry and change the structure...
Currently the source for drop-down fields resembles the following (for a text field...). :
< div id = "apexir_rollover_content" >
< a href = "javascript:void (false); ">
< input type = "text" value = "24489" maxlength = size "2000" = "6" name = 'f06' > < / input >
< /a >
< a href = "javascript:void (false); ">
< input type = "text" value = "N1021" maxlength = "2000" size = "6" name = 'f06' > < / input >
< /a >
< / div >
How could I 1) browse each occurrence of div id = "apexir_rollover_content" on my page, so I found out about each other, how would I go through the list and change the line above an input to a standard list item text...? Or is there a simpler way to do it?
Kind regards
Richard
Hello
Problem was on your process to GET the VALUES of LOV.
You did not bind the variable values of cursor.
I created another process for your page that manages LOV BUDGET_CAT
Kind regards
Jari
-
Check the file types flat column list and column
Hi guys!
Is there an "easy way" to check if the source file names flat column and column types correspond to the types and the column name for the data store target?
Kind regards
PsmakRHello
Is there a way that I've used some time to validate if the data are under the target.
Conditions:
(1) the source file should have all the columns as "String".
(2) all the column analyzed mapping has to go to the "staging area".
How to: (average oracle)
(1) create a database (by the ODI procedure) function as:
create or replace function $ F _DATATYPE (pData in varchar2, pDatatype in varchar2, pFormat in varchar2)
return varchar2 asdate of $vdate;
number of vNumber;BEGIN
If pDatatype = ' then / * Date * /.
$vdate: = to_date (pData, pFormat);
elsif pDatatype = ' only then / * number * /.
If pFormat is null then
vNumber: = to_number (pData);
on the other
vNumber: = to_number (pData, pFormat);
end if;end if;
Returns "OK";
EXCEPTION
While OTHERS then
return "KO."end of F$ _DATATYPE;
(3) now, you can create a constraint to each column in the source you want to validate data as:
= 'OK' F$ _DATATYPE(my_source_column, 'D', 'ddmmyyyy hh24:mi:ss') / * for a date as an example column * /.
(4) drag / move the source (table model) data source in the package and a table of $ E with all errors will be created.
This help you?
Maybe you are looking for
-
Satellite A660: Multimedia keys do not work after installing Win 8
Hello I apologize for my poor English.I have a Toshiba Satellite A660 PC and when I formatted the PC to install Windows 8 is more function keys programmable keys (echo, toshiba, LED). I tried to install value added pach and flash cards, but without r
-
Media buttons do not work on my Satellite Pro 2100
On my laptop Satellite Pro 2100, there are 6 buttons of media on the edge of it. I can't make them work. Any ideas? I have wmp11 when I press on them, nothing happens no break or anything cud anyone help me please.Thanks in advance. Jamie Holmes
-
HP ENVY 15 t-j100 Quad Edition: red vertical lines in monitor
Hello, one year I red vertical lines have appeared in my screen, sometimes they disappear if I move the monitor, but now they appear more frequently. What should I do?
-
Seen my RN10400 for about a year now and no problems to use it as a storage for network device domestic. Now I truying to create clouds for users permissions, but after the steps in the manual I got nowhere. To invite users to clouds I need to access
-
Original title: my songs seem to disappear from windows media player 11 I make a playlist and some of the songs come with a "cannot find this file" dialog box I click on 'place to open the file' and the song is there but will not play. Help, I'm losi