Newline character problem
I'm trying to understand how to use a line break within text in header for a dataGridColumn. This is what I have at the moment, it simply shows the title as "approved" & \n extension. ".Thank you!
Use:
Approved
Extension of time
Tracy
Tags: Flex
Similar Questions
-
Dear all,
Please help me with a query that replace the newline with null characters.
Suppose that I have a field test string and value in it's...
testString ="Hello, this is Yvon
->->-> (Average gap newline character should be replaced by NULL)
It is also Jean Louis"
Please, help me with a query to achieve the highest case talk.
Thanks and greetings
Yvon Das
Not sure you understand... maybe something like that?
SQL > select ' Hello, this is Yvon
2 it is also Yvon ' double.
"HELLO, THISISMONOJTHISISALSOMONOJ.
-----------------------------------------
Hello, this is Yvon
It is also Yvon
SQL > select replace ("Hello, this is Yvon
2 it is also Yvon ', chr (10), null)
3 double;
REPLACE ("HELLO THISISMONOJTHISISALSOMONO")
----------------------------------------
Hello, this is Jean Louis is also Jean-Louis
SQL >
-
License host character problem
Hi, I'm getting a problem while open character animation.
I already reinstalled after effects but that do not work.
Someone knows how to fix this?
Thank you
This will help you: animation character license problem
-
Interactive report - French language character problem
Hello
I made an interactive report with this table:
CREATE TABLE 'DEPT '.
("DEPTNO" NUMBER (2.0),)
VARCHAR2 (14) "DNAME",.
"LOC" VARCHAR2 (13),
ENABLE 'DEPT_PK' CONSTRAINT PRIMARY KEY ('DEPTNO')
)
I have two rows in my table
insert into dept (dname, loc) values('IT','Québec');
insert into dept (dname, loc) values('IT','Montreal');
When I click on the filter of the LOC. column I got a javascript error and the loading icon does not stop.
JavaScript error:
list of missing} after property
http://Penelope/ax31/JavaScript/apex_3_1.js
Line 1
The problem is the 'e' in Quebec.
Thank you.
Sylvain MichaudHello
You use AL32UTF8 as the character set in your DAD PlsqlNLSLanguage setting?
Kind regards
Arie. -
manage the CLOB data delimited by tabs with the newline character
Hi all
I have a table with a column of type CLOB data where my data are delimited by tabs. For the new line I Chr (10) as the separator between the lines. Someone knows how to handle this character in order to select these data in separate lines.
Here is the example:
create table xx_test1(col1 clob); insert into xx_test1 values (TO_CLOB('1'||chr(9)||'5467'||chr(9)||'41773'||chr(9)||'5467'||chr(9)||'169407'||chr(9)||'GBP'||chr(9)||'08-Feb-2016'||chr(9)||'08-Feb-2016'||chr(9)||'UK Accrual Invoice'||chr(9)||'UK Accrual - import'||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||'RDWHMP.03.00025.IND'||chr(9)||''||chr(9)||'300'||chr(9)||'15'||chr(9)||'Each'||chr(9)||'ZZU'||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||'PL Imported Invoices'||chr(9)||'119'||chr(9)||'229'||chr(9)||'340'||chr(9)||'450'||chr(9)||'560'||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||'Franchise COGS'||chr(9)||'12'||chr(9)||'13'||chr(9)||'14'||chr(9)||'15'||chr(9)||'Y'||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||'10'||chr(9)||'0'||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''|| chr(10) || '2'||chr(9)||'5467'||chr(9)||'41773'||chr(9)||'5467'||chr(9)||'169407'||chr(9)||'GBP'||chr(9)||'08-Feb-2016'||chr(9)||'08-Feb-2016'||chr(9)||'UK Accrual Invoice'||chr(9)||'UK Accrual - import'||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||'RDWHMP.03.00025.IND'||chr(9)||''||chr(9)||'10'||chr(9)||'15'||chr(9)||'Each'||chr(9)||'ZZU'||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||'PL Imported Invoices'||chr(9)||'120'||chr(9)||'230'||chr(9)||'341'||chr(9)||'451'||chr(9)||'561'||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||'Franchise COGS'||chr(9)||'12'||chr(9)||'13'||chr(9)||'14'||chr(9)||'15'||chr(9)||'Y'||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||'10'||chr(9)||'0'||chr(9)||''||chr(9)||''||chr(9)||''||chr(9)||''));
I'll try this one, but it does not work. The last column is not correct and it returns the value of the next line and also does not continue to the end (I presume it's due to the position of the character hardcoded in regexp_substr). Any ideas how to handle?
WITH c_file_imp_data AS (SELECT dbms_lob.substr(col1, 32767, 1) src FROM xx_test1) SELECT --regexp_subsr is finding the position of the x occcurrance of a tab delimitter to_number(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 1), chr(9))), --RECORD_ID to_number(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 2), chr(9))), --BILL_TO_CUSTOMER_NUMBER, to_number(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 3), chr(9))), -- BILL_TO_LOCATION, to_number(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 4), chr(9))), -- SHIP_TO_CUSTOMER_NUMBER, to_number(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 5), chr(9))), -- SHIP_TO_LOCATION, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 6), chr(9)), -- CURRENCY, to_date(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 7), chr(9)), 'DD-MON-YYYY'), -- GL_DATE, to_date(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 8), chr(9)), 'DD-MON-YYYY'), -- TRANSACTION_DATE, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 9), chr(9)), -- TRANSACTION_TYPE_NAME, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 10), chr(9)), -- TRANSACTION_SOURCE, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 11), chr(9)), -- TERMS, to_date(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 12), chr(9)), 'DD-MON-YYYY'), -- DUE_DATE, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 13), chr(9)), -- PAYMENT_METHOD, to_number(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 14), chr(9))), -- SALESREP_NUMBER, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 15), chr(9)), -- ITEM, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 16), chr(9)), -- DESCRIPTION, to_number(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 17), chr(9))), -- QUANTITY, to_number(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 18), chr(9))), -- UNIT_SELLING_PRICE, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 19), chr(9)), -- UNIT_OF_MEASURE, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 20), chr(9)), -- WAREHOUSE, to_number(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 21), chr(9))), -- TAX_RATE, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 22), chr(9)), -- TAX_CODE, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 23), chr(9)), -- GL_ACCOUNT_STRING, to_number(rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 24), chr(9))), -- CURRENCY_EXCHANGE_RATE, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 25), chr(9)), -- LINE_TRX_DFF_CONTEXT_VAL, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 26), chr(9)), -- LINE_TRANSACTION_FIELD1, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 27), chr(9)), -- LINE_TRANSACTION_FIELD2, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 28), chr(9)), -- LINE_TRANSACTION_FIELD3, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 29), chr(9)), -- LINE_TRANSACTION_FIELD4, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 30), chr(9)), -- LINE_TRANSACTION_FIELD5, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 31), chr(9)), -- LINE_TRANSACTION_FIELD6, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 32), chr(9)), -- LINE_TRANSACTION_FIELD7, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 33), chr(9)), -- LINE_TRANSACTION_FIELD8, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 34), chr(9)), -- LINE_TRANSACTION_FIELD9, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 35), chr(9)), -- LINE_TRANSACTION_FIELD10, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 36), chr(9)), -- LINE_TRANSACTION_FIELD11, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 37), chr(9)), -- LINE_TRANSACTION_FIELD12, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 38), chr(9)), -- LINE_TRANSACTION_FIELD13, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 39), chr(9)), -- LINE_TRANSACTION_FIELD14, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 40), chr(9)), -- LINE_TRANSACTION_FIELD15, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 41), chr(9)), -- INV_LINE_INFO_DFF_CONT_VAL, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 42), chr(9)), -- NO_ANIMALS, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 43), chr(9)), -- MX_WEIGHT, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 44), chr(9)), -- MX_SLAUGHTER, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 45), chr(9)), -- REBILLED, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 46), chr(9)), -- NON_STAT, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 47), chr(9)), -- ATTRIBUTE12, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 48), chr(9)), -- ATTRIBUTE13, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 49), chr(9)), -- ATTRIBUTE14, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 50), chr(9)), -- ATTRIBUTE15, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 51), chr(9)), -- ATTRIBUTE8, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 52), chr(9)), -- ATTRIBUTE11, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 53), chr(9)), -- ATTRIBUTE2, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 54), chr(9)), -- ATTRIBUTE3, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 55), chr(9)), -- ATTRIBUTE4, rtrim(regexp_substr(src, '[^' || chr(9) || ']*' || chr(9) || '', 1, 56), chr(9)) -- ATTRIBUTE9 FROM c_file_imp_data
Oracle DB version: 12 c
Thanks in advance,
Alex
with
xx_test1 as
(select TO_CLOB ('1' |)) Chr (9) | "5467' | Chr (9) | "41773' | Chr (9) | "5467' | Chr (9) | ' 169407' | Chr (9) | ' GBP'. Chr (9) | "February 8, 2016'. Chr (9) | "February 8, 2016'. Chr (9) | "Bill regularization UK' | Chr (9) | "Accumulation of UK - import '. Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9) | ' RDWHMP.03.00025.IND' | Chr (9): "| Chr (9) | ' 300'. Chr (9) | ' 15' | Chr (9) | ' Each ' | Chr (9) | ' ZZOU ' | Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9) | "PL imported invoices | Chr (9) | ' 119' | Chr (9) | ' 229'. Chr (9) | ' 340' | Chr (9) | "450 | Chr (9) | ' 560' | Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9) | "Franchise of the WORKINGS. Chr (9) | ' 12'. Chr (9) | ' 13'. Chr (9) | ' 14'. Chr (9) | ' 15' | Chr (9) | » Y'|| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9) | ' 10'. Chr (9) | » 0' || Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (10) | '2'|| Chr (9) | "5467' | Chr (9) | "41773' | Chr (9) | "5467' | Chr (9) | ' 169407' | Chr (9) | ' GBP'. Chr (9) | "February 8, 2016'. Chr (9) | "February 8, 2016'. Chr (9) | "Bill regularization UK' | Chr (9) | "Accumulation of UK - import '. Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9) | ' RDWHMP.03.00025.IND' | Chr (9): "| Chr (9) | ' 10'. Chr (9) | ' 15' | Chr (9) | ' Each ' | Chr (9) | ' ZZOU ' | Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9) | "PL imported invoices | Chr (9) | ' 120'. Chr (9) | ' 230'. Chr (9) | ' 341'. Chr (9) | ' 451' | Chr (9) | "561' | Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9) | "Franchise of the WORKINGS. Chr (9) | ' 12'. Chr (9) | ' 13'. Chr (9) | ' 14'. Chr (9) | ' 15' | Chr (9) | » Y'|| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9): "| Chr (9) | ' 10'. Chr (9) | » 0' || Chr (9): "| Chr (9): "| Chr (9): "| Chr (9) | ") the_clob
of the double
)
Select x.lne
of xx_test1 t.
XMLTable ('/ a/b ')
from xmltype ('' |) Replace (t.the_clob, Chr (10),''): '')
path of ESA varchar2 columns (4000) '.'
) x
ESA 1 5467 41773 5467 169407 GBP 8 February 2016 8 February 2016 regularization invoice accounting UK UK - import RDWHMP.03.00025.IND 15 300 each ZZU PL Imported bills 119 229 340 450 560 Franchise COGS 12 13 14 15 Y 10 0 2 5467 41773 5467 169407 GBP 8 February 2016 8 February 2016 regularization invoice accounting UK UK - import RDWHMP.03.00025.IND 10 15 imported bills each PL ZZU 120 230 341 451 561 Franchise COGS 12 13 14 15 Y 10 0 It seems that you know how to do the rest
Concerning
Etbin
-
Hello
The menu menu character type drop-down displays no results, so I can't select/change the fonts.
It worked, I created the document and selected fonts, and it seemed just to turn off.
It happened right after that I open the glyphs Panel.
Can anyone help please?
You have one of the buttons to filter (the 'star' or 'Traditional knowledge' selected). Deselect the, and you should be able to see your fonts. This means that you have no Favorites, and/or not Typekit fonts in your menu.
-
is it possible to put a line break character in a literal? Or a < br >? Is it possible to make the TEBs line wrap?
Cp7/PC.
Thank you.
No to your first question.
Wrap of TEB: you must check "See the scroll bar" somewhere, I'm on Captivate 8 but of course you have it in an accordion in Captivate 7 as well.
Another idea: have you ever tried the interaction text scrolling? This is another way for users to enter text. In CP7 you are not able to control what is displayed, you cannot clear the text (for TEB either, not even not to CP8)
I used it here: matters of custom Hotspot in Captivate 8 - Captivate blog
-
Query of queries (QofQ) escaped character problem
Hi all
I am trying to run a query or queires (QofQ) and I do a LIKE comparison which finds support ([]) characters in the string, but ColdFusion ignores the media. How can I escape the character of support? So far, I couldn't escape the percentage based on the Docs sign live ColdFusion. The error message I get when I run the query below is:
«"" "Invalid escape sequence.»»»" Pairs of valid sequence for this escape character are: "------%", or "\".
This is the query:
< cfquery dbtype = "query" name = "getLogs" >
SELECT *.
OF GetLogs
WHERE Description LIKE '\[User:#UserID#\]% %' ESCAPE ' \'
< / cfquery >
Thanks for your help!What of it?
WHERE my Description LIKE ' % [[] user: #UserID #] %'
-
Sqlplus recognize any type of DBMS_OUTPUT newline character?
I am creating a complex chain inside a procedure and the display with dbms_output.put_line. It works fine with SQL Developer, but when I use it in SQL Plus it comes out goofy. It was narrowed down to me using Chr (10) where I want the line breaks. Is it possible to display a 'formatted' in SQL varchar2, as I expect them? I've even tried using .put with no luck.
With the help of:
Oracle 10.2.0.4.0
SQL Plus 10.2.0.1 / 9.2.something
Here is a little example:
Right now I use a work around, but want to use a character (or a combination of characters) that SQL more will play with beautiful... If there is.set serverout on set linesize 10 declare lv_string varchar2(32767); begin for x in 1..5 loop lv_string := lv_string || 'I AM LINE ' || to_char(x) || chr(10); end loop; dbms_output.put_line(lv_string); end; / Expected Output (What I'm getting in SQL Developer): I AM LINE 1 I AM LINE 2 I AM LINE 3 I AM LINE 4 I AM LINE 5 Actual Output (SQL Plus): I AM LINE 1 I AM LINE 2 I AM LINE 3 I AM LINE 4 I AM LINE 5
declare lv_string varchar2(32767); lv_start pls_integer; lv_end pls_integer := 0; c_newl constant varchar2(1) := chr(10); begin for x in 1..200 loop lv_string := lv_string || 'I AM LINE ' || to_char(x) || c_newl; end loop; loop lv_start := lv_end + 1; lv_end := instr(lv_string, c_newl, lv_start); exit when lv_end <= lv_start; dbms_output.put_line(substr(lv_string, lv_start, lv_end- lv_start)); end loop; end; /
Hello
Try increasing your linesize:
set linesize 180
-
RN104 - problem of "Delete inactive volumes to use the disc." #27199519
I have what seems to be similar to many other questions.
I have a RN104 with two 2 TB drives using X-RAID RAID 1 (mirror). I also activated the encryption. A couple of days, we had a power outage and the ReadyNAS close.
I plugged the USB with the encryption key and he started upward but am now getting the error "delete inactive volumes to use the disk. Drive #1,2 '. And we can access is no longer the actions that have been setup on the NAS.
All the suggestions/help? We are out of the period of our support.
Just to close the loop and maybe help someone else who is having a problem, here is what he has done for me.
I end up paying for support, however ultimately my problem was that when I copied/pasted the encryption key from our secure and saved on the USB password manager, the key had a newline character hidden line the end of it (an artifact of the copy/paste from the password manager) which was originally not to be able to decrypt the volume. I had to use a hex editor to view and delete the character that is hidden at the end of the key, then my volume was fine. So, if you have the above error AND you use an encrypted volume AND you have copied/pasted your encryption key from another source to a USB key, check the key for you ensure that no character hidden inside.
I had a problem of tracking where we couldn't access or connect to one of the actions. Support has fixed this issue for me, the samba configuration file was empty, for some reason, support it repaired and we are back in business.
-
ADF: how to insert the character of new line in the column of VO?
Hello world
IM using Jdev 11 G.
I have a VO with 5 columns appear on the page of the ADF. (VO a total 8 columns)
column 1 is the combination of 3 columns. I concatenated 3 columns and add the new line character after each column Chr (13).
VO query works very well as a toad. the columnn displays each column value concatenated after a newline character, but the same query does not work in the ADF.
The column that is the concatenation of the 3 columns and should display with the new line character does not display the new line character its just concatenation of the 3 values and display on the page.
Wat could be the solution for this in the ADF?
Thank you.Column does not have the property to escape. It is part of the output text.
Something like
Arun-
-
How to remove a character from new line in a column
Hi all...
I have a column in a table in which some data contains a newline character to their last.
I need to remove the line break characters.
for example... are data
"abcd
'
(Notice the end of the quote)... I need to get data under... "abcd".
PLSS help me...
Thanks in advance...Hello:
select replace(column_name,CHR(13),'') from table_name;
If it does not work, try Chr (10) instead of Chr (13).
Saad,
-
delete the last character of line break
How can I remove the newline character from the end of a string? (Note: there are several line break characters in the string). Thank you!This may or may not work, but it is worth it.
If (right (Votrechaine, 1) is 10)
Votrechaine = left (Votrechaine, 1, len (yourstring)-1); -
All (running 11.2 OEL on 5),
I'm fighting figuring how to get the result I want to with the following data:
Here's what I would get. The column date 10 - Jun 10 - Jul is 'dynamic', and there will be a new column each month.CREATE TABLE REGION_LOOKUP ( REGION_ID NUMBER NOT NULL ENABLE, REGION VARCHAR2(5) NOT NULL ENABLE, PRIMARY KEY ("REGION_ID") ENABLE ) / CREATE TABLE IND_REVENUE ( ID NUMBER, IND_REV_DATE VARCHAR2(30), IND_REVENUE NUMBER, REGION_ID NUMBER, CONSTRAINT IND_REVENUE_PK PRIMARY KEY (ID) ENABLE ) / INSERT INTO REGION_LOOKUP (REGION_ID, REGION VALUES(1,'EMEA'); INSERT INTO REGION_LOOKUP (REGION_ID, REGION VALUES(2,'LAD'); INSERT INTO REGION_LOOKUP (REGION_ID, REGION VALUES(3,'APAC'); INSERT INTO REGION_LOOKUP (REGION_ID, REGION VALUES(4,'NAS'); INSERT INTO REGION_LOOKUP (REGION_ID, REGION VALUES(5,'JAPAN'); / INSERT INTO IND_REVENUE VALUES(1,'10-Jun',73.10,4); INSERT INTO IND_REVENUE VALUES(2,'10-Jul',49.30,4); INSERT INTO IND_REVENUE VALUES(3,'10-Jun',3.20,2); INSERT INTO IND_REVENUE VALUES(4,'10-Jul',0.30,2); INSERT INTO IND_REVENUE VALUES(5,'10-Jun',28.60,3); INSERT INTO IND_REVENUE VALUES(6,'10-Jul',12.40,3); INSERT INTO IND_REVENUE VALUES(7,'10-Jun',64.00,1); INSERT INTO IND_REVENUE VALUES(8,'10-Jul',19.80,1); INSERT INTO IND_REVENUE VALUES(9,'10-Jun',6.60,5); INSERT INTO IND_REVENUE VALUES(10,'10-Jul',4.70,5); /
I think something like that (I'm stuck) but of course, this does not at all and is also hardcoded regarding columns.Region 10-Jun 10-Jul Total APAC $28.6 $12.4 $41.0 EMEA $64.0 $19.8 $83.8 JAPAN $6.6 $4.7 $11.3 LAD $3.2 $0.3 $3.5 NAS $73.1 $49.3 $122.4 Total $175.5 $86.5 $262.0
All great ideas?select rn, 10-Jun, 10-Jul, (10-Jun + 10-Jul) as Total from (select RL.REGION_NAME as rn, RL.REGION as re, IR.IND_REVENUE as rev from REGION_LOOKUP RL, IND_REVENUE IR where IR.region_id = RN.region_id) pivot (SUM(rev) for rn in ('10-Jun' as 10-Jun, '10-Jul' as 10-Jul))
See you soon,.
Andy
Fixed the instructions insert, sorry about that. Copy and paste before the coffee is not good.Hi, Andy.
A Tael says:
A nice solution,Thanks, but what solution do you mean? There were at least 4 different solutions on this page.
but is there a way to avoid the queue to a file?
Do you mean the dynamic SQL solution? Yes, the coil is just a way to make the dynamic SQL statements.
In SQL * more you can write the variable part of the query to a substitution variable (see below).
In PL/SQL, you can assemble a select in VARCHAR2 variable.PROMPT ========== 2. Dynamic Pivot using Substitution Variable ========== -- ***** Preliminary Query: ***** COLUMN sql_txt_col NEW_VALUE sql_txt WITH all_jobs AS ( SELECT DISTINCT job , DENSE_RANK () OVER (ORDER BY job) AS r_num FROM scott.emp ) SELECT SYS_CONNECT_BY_PATH ( job || ''' THEN 1 END) AS ' || job || '_CNT' || CHR (10) -- Newline, for legibility only , ', COUNT (CASE WHEN job = ''' -- Delimiter, goes before each entry ) AS sql_txt_col FROM all_jobs WHERE CONNECT_BY_ISLEAF = 1 START WITH r_num = 1 CONNECT BY r_num = PRIOR r_num + 1 ; -- ***** Main Query ***** SELECT deptno &sql_txt -- Ends with newline, so occupy that line FROM scott.emp GROUP BY deptno ORDER BY deptno ; /* EXPLANATION: Using a substitution variable is very similar to using a script. The main difference is that the output of the preliminary query has to go into one row. This is done with SYS_CONNECT_BY_PATH, and getting that requires that the jobs be numbered with consecutive integers, 1, 2, 3, ... which we get from DENSE_RANK. The NEWLINE character was added just to make the output line easier to read during debugging. */
-
Titles or subtitles of the file name?
Is it possible to automatically generate the titles or subtitles of the file name? I have a video made up of several small files and you need to insert their names under the name of a chapter, or at least as a subtitle. FCPX only supports to support the generation of TC.
The short answer (obtuse) is not. Not in FCPX alone.
I seriously doubt you will be interested in this procedure, but someone might be.
You need movement (this is the only expense here), TextWrangler and a droplet of Automator (see below).
First, gather all your files of clips in a folder.
Drop the file on the files in the folder (the automator app/drop) that will create a text file with the names of all files in the folder. When you are prompted to save the file, you can name it and save it wherever you want.
Gout Gets the names of files from the Finder, and they are complete paths, such as:
/ Users/fx/Desktop/txtLicenses/Aardvark Cafe readme.txt
[You can download a copy of the 'Files in the folder' drop HERE ]
Open a window in TextWrangler, and then drag the text file to a blank page (very cool - TextWrangler automatically opens the file with drag and drop.) [TextWrangler is FREE of Barebones.com (http://www.barebones.com/products/textwrangler/) software, everyone should have a copy! The most recent version is 5.0.2 in date 25/12/2015]
Type the command + F to open the Find/Replace dialog box. Make sure that Grep is checked.
To find them, use this regex:
.*\/(.+)\.. +
[translated: find everything up to and including the last ' / ' character, can find everything up to the last period and save it as a game (the parenthesis) and then find everything at the end of the line]
As an alternative, use:
\1\n
[Translated: prints the substring and adds a newline character - it will be double space lines of text]
In the drop-down menu with the label of 'g', save... (model - something like Remove Path and FileType) so you can find it again easily.
The text from the above example will become:
Aardvark Cafe readme
[and will follow an empty line]
[I recommend you do all your spelling at this point.] Make sure that all text is as you want it to appear in FCPX. Repair later gets a bit dicey. and generally it is a good idea to start over if you need to make changes to the text file.]
Save the file with another file in TXT format.
On the move:
Create a project generator. It can be almost any length, so accept the default value of 10 seconds. You will be stretching out in FCPX in any case.
Add: Generators > text > file
[You can use the Inspector to Format to choose the font, size, etc. and the inspector looks for color and 3D options].
In the Inspector of the generator, find the section, load your text file
Set the speed to Custom
Reset the Custom speed setting
Publish the speed of Custom setting slider
Save in FCPX (and create a category called subtitles)
When you save the generator in FCPX, the file being used is hard-copied in the media for access folder. You cannot publish the setting browse generator, so all files subtitles prepared in this way are projects of "One Shot". You can throw away them once your project is completed because their utility essentially died with the FCPX project.
In FCPX, apply the generator to the plot and develop it to adapt to the length.
Keyframe of the lines of text to match the timing of your video. This is where double spacing will be useful because it is a real pain in simple lines of keyframe and you will need a bit of space for a step-by-step. You can, of course, import the audio portion of your story in motion, create a project for quite a long time for the entire length and key image subtitles in movement. You can export as, eventually, the subtitle project as ProRes (if you do not use 4444, then you can apply the Composite blend mode add to the layer that you use in FCPX as the background should be black.)
If all of your clips are the same length of time, then using the subtitle generator is a snap. Set a keyframe at 0 for the appearance of the first line and in the end, the last line should appear, simply drag the speed until the last line shows control (should be at or close to 100%). The generator systematically displays a single line both throughout the progression of his 'read'
I found that the faster is to import the audio in motion and create a Motion project, the length of the audio used for subtitles + a little extra at the end. Listen to the audio, and for each line that you display, add a keyframe... little whatever it is. When there is a keyframe for each line, listen again and adjust keyframe values to display the line. This will leave you with linear transitions from one image to another key (and overlapping in some cases, or the appearance of lines before image real key because of "Rounding errors") - is NOT a problem! Just select 1 keyframe, type command + A to select all the keyframes, and then right-click on a keyframe and select constant on the menu drop down. This will create a step-by-step through each value and you give the * discreet * timing you have need for the text to appear at the right time. Remove the audio track and save the project as a generator of FCPX... it is faster and easier to export a track video overlay.
You need movement 5.1.x or better (there are serious problems with 5.0 versions and file generator.)
I know it doesn't look like it, but this method of captioning is much easier than ANY other software of captioning I've tried in the past... NO timecode or the special formatting is required... other recommended spacing to double.
HTH
Maybe you are looking for
-
Display in Firefox area suddenly becomes blurred with the wired scrambled pixels
It happens more often when I scroll the Web page with the mouse wheel a zoom in or out (by Ctrl-wheel rolling) can refresh the display reinstalling firefox did not solved the problem
-
I created several playlists in Windows Media Player & in charge to my Sony Walkman NWZ-E365. «I deleted the playlists on my Walkman, I tried to manually synchronize these playlists back to my Sony, but it not sync them again & I don't get the "i" inf
-
Satellite C855D-124 does not start - black screen
Hello I have a problem on my PC (by Satellite C855D-124) specifically was playing a game, and stopped from nowhere I could not do any command then off button. But as I returned the call and turned the lights appeared as the charge appears as a small
-
When I turn on my T40 I hear a plaintive sound that disappears, but the computer starts normally. Some time later, there is a new noise. It seems the flaps beside the air card slot. Other messages on fan in this forum failure indicate a fan failur
-
Windows Vista and Windows Mail
When I try to connect to the Windows Mail bed POP3 message not found, error OX800cccOD