[JS, ID5 SVR] select the line that contains vertically merged cells
Hello
I want to put the line type lines that contains vertically merged cells. Example of lines containing merged cells:
When a line defined as myTable.rows [1], it returns an error. How to get to the second and third rows.
Best regards, Sjoerd
How simple it can be:
var myDoc = app.activeDocument; var myTables = myDoc.stories.everyItem().tables.everyItem().getElements(); for (i=0;iI'm a rookie, that's for sure...
Tags: InDesign
Similar Questions
SQL query to search for the line that contains the identifier for each consecutive group
Hello
I'm on 11.2.0.3 Enterprise Edition.
I have a strange request here - do not know if this is possible without going to procedure...
Given these data of the sample:
create table test_status ( status varchar2(10), revision_id number, revision_timestamp timestamp); insert into test_status values ('PROPOSED', 1, systimestamp); insert into test_status values ('PROPOSED', 2, systimestamp); insert into test_status values ('PROPOSED', 3, systimestamp); insert into test_status values ('ACTIVE', 4, systimestamp); insert into test_status values ('ACTIVE', 5, systimestamp); insert into test_status values ('PROPOSED', 6, systimestamp); insert into test_status values ('PROPOSED', 7, systimestamp); insert into test_status values ('ACTIVE', 8, systimestamp); insert into test_status values ('ACTIVE', 9, systimestamp); insert into test_status values ('FINISHED', 10, systimestamp); insert into test_status values ('FINISHED', 11, systimestamp); insert into test_status values ('FINISHED', 12, systimestamp);Gives me:
SQL> select * 2 from test_status 3 order by revision_id; STATUS REVISION_ID REVISION_TIMESTAMP ---------- ----------- ----------------------------- PROPOSED 1 25-SEP-14 04.49.47.954000 PM PROPOSED 2 25-SEP-14 04.49.47.962000 PM PROPOSED 3 25-SEP-14 04.49.47.966000 PM ACTIVE 4 25-SEP-14 04.49.47.969000 PM ACTIVE 5 25-SEP-14 04.49.47.972000 PM PROPOSED 6 25-SEP-14 04.49.47.976000 PM PROPOSED 7 25-SEP-14 04.49.47.979000 PM ACTIVE 8 25-SEP-14 04.49.47.982000 PM ACTIVE 9 25-SEP-14 04.49.47.987000 PM FINISHED 10 25-SEP-14 04.49.47.991000 PM FINISHED 11 25-SEP-14 04.49.47.996000 PM FINISHED 12 25-SEP-14 04.49.48.000000 PM 12 rows selected. ws selected.I want to get this result:
STATUS REVISION_ID REVISION_TIMESTAMP ---------- ----------- ---------------------------- PROPOSED 3 25-SEP-14 04.49.47.966000 PM ACTIVE 5 25-SEP-14 04.49.47.972000 PM PROPOSED 7 25-SEP-14 04.49.47.979000 PM ACTIVE 9 25-SEP-14 04.49.47.987000 PM FINISHED 12 25-SEP-14 04.49.48.000000 PMThen query the table ordered by Revision_Id, I would get the line containing the highest revision for each consecutive group of status values. I am able to get the line containing the highest revision for each separate status, value, but I can't deal with the scenario where a state value reappears later. In the case of the real world, it is a workflow and I need to take into account the fact that an element through the workflow may be redirected to the back front she proceeds forward again.
Hope it makes sense.
Thank you
John
Hi, John,.
John OToole (Dublin) wrote:
Hello
I'm on 11.2.0.3 Enterprise Edition.
I have a strange request here - do not know if this is possible without going to procedure...
...
Do not no stinkin' procedure:
WITH got_grp_id AS
(
SELECT the status, revision_id, revision_timestamp
ROW_NUMBER () OVER (ORDER BY revision_id)
-ROW_NUMBER () (PARTITION STATUS
ORDER BY revision_id
) AS grp_id
OF test_status
)
SELECT status
MAX (revision_id) AS revision_id
MAX (revision_timestamp) DUNGEON (DENSE_RANK LAST ORDER BY revision_id)
AS revision_timestamp
OF got_grp_id
GROUP BY status, grp_id
ORDER BY revision_id
;
For an explanation of the technique of Difference sets used here, see
Hello
I have a table whose fields can develop. There is an another subform on the side that contains two vertical lines with the height increases if the height of the table increases. The table and the subform are in a provision passed. The challenge is that the subform with the lines does not break between pages. The subform is enabled to allow page breaks, but still it does not break. How to get there?
I solved by creating the columns on the side and leave the table and breaking lines between pages. The cell border will serve as lines.
E4X: Select the nodes that match a criterion, and whose children match to another
Hi guys,.
I'm writing a query of E4X to select the nodes that match a criterion, and whose children match to another. My actual dataset is a little more complex than this example, but this one is easy to follow.
Say that you are modeling a hierarchy of nodes, where each node can have zero or more parents and children. The XML file is a simple index of nodes, and each node contains their immediate parent and child relationships. In this way, you can start with a given node and build a tree in a direction any to any depth. As an extra flavor and selection criteria, each node has one or more colors that are associated with.
Here's a sample:
nodes <>
< node id = ' a' >
< name color = "red" / >
< child id = 'b' / >
< / node >
< node id = "b" >
< name color = "red" / >
< name of color = "green" / >
< parent = 'a' / >
< child id = "d" / >
< / node >
< = 'c' node id >
< name color = "blue" / >
< name of color = "green" / >
< child id = "d" / >
< / node >
< node id = "d" >
< name of color = "green" / >
< id parent = 'b' / >
< id parent = 'c' / >
< / node >
...
< / node >
Now, say I want to select all nodes root (those who have no parent relationships) that are red. This is the best I could come up with:
var nodeChildren:XMLList = nodeData.node. (! hasOwnProperty ('parent'))... Color. (@name == "red");
for each {(var childData:XML in nodeChildren)
var childID:String = nodeData.parent () .@id;}
}
The first line gets us 90% of the way by selecting all of the nodes of color matching, but we have all these entries to get the id of the node that contains.
It is possible to select the nodes in one of the E4X without needing the loop?
Thank you!
Scott
So how about this?
nodeData.node. (! hasOwnProperty ('parent') & color.) (@name=="red").length () > 0)
How to display the data, that contains non-numeric characters.
Hello
I have table t1 with column of type varchar2 below
ID
------
11151
11412
1113
1 to 114
11b 15
111 6
Now, I need to display the data, that contains non-numeric characters.
Did you get the result like:
STR
----------
1 to 114
11b 15
111 6
WITH t AS (SELECT '11151' str FROM DUAL UNION ALL SELECT '11412' FROM DUAL UNION ALL SELECT '1113' FROM DUAL UNION ALL SELECT '1a114' FROM DUAL UNION ALL SELECT '11b15' FROM DUAL UNION ALL SELECT '111c6' FROM DUAL) SELECT * FROM t where regexp_like(str,'[^[:digit:]]');See you soon,.
Manik.
Select the line with the smallest Beach
Hello
I am trying to build a complex query...
He must select the line with the inner range...
I'll explain for example:
Location of poolsize ID value
1 32 8
2 40 6
3 42 8
4-36-3
I want to select the line where the fork between value and value + poolsize is shared also with the other location...
so:
1 is 32-40 (in A place)
2 is 40-46 (in place)
3 is 42-48 (location B)
4 is 36-39 (at location B)
4 is located at 1 (and there are different places...) so sql must return to the fourth line.
Any help will be appreciated!
Thank you
fcbmanHello
fcbman1899 wrote:
Hello
I am trying to build a complex query...
He must select the line with the inner range...I'll explain for example:
Location of poolsize ID value
1 32 8
2 40 6
3 42 8
4-36-3Whenever you have a problem, please post CREATE TABLE and INSERT statements for your sample data, in order to let the people who want to help you re-Ridge the problem and test their ideas.
See the FAQ forum {message identifier: = 9360002}I want to select the line where the fork between value and value + poolsize is shared also with the other location...
so:
1 is 32-40 (in A place)
2 is 40-46 (in place)
3 is 42-48 (location B)
4 is 36-39 (at location B)4 is located at 1 (and there are different places...) so sql must return to the fourth line.
To find all the rows that are within the range of at least one other line with another location:
SELECT * FROM table_x m WHERE EXISTS ( SELECT 1 FROM table_x WHERE location != m.location AND value <= m.value AND value + poolsize >= m.value + m.poolsize ) ;
When you talk of the "" * most * inner range ", do you mean that you might have another line, such as"
INSERT INTO table_x (id, vlue, poolsize, location) VALUES (5, 37, 1, 'C');
which is inside the range of id - 4, and that's why you wouldn't have id = 4? If so, include examples in the results and data sample yout. You can do this with a query CONNECT BY, or, depending on your version of Oracle, a WITH recursive clause.
SQL statement to select the tables that are updated today...
Hi guys,.
I need to find the names of all the tables that contain rows that are inserted/updated on a given time stamp...
Below the statement gives me the list of all tables in the database...
All these tables in the database have a rowversion column which gives the date of update/insertion of a record. I need to write a select statement (probably dynamic) that will give me the names of the tables that contain the rowversion value 24/01/2013...select t.table_name from all_tables t;
Any help is appreciated...Napster says:
Hi kitsoukou,Thanks for your reply...
But when I run your select statement I get an error indicating that the table SYS. DBMS_XMLGEN does not exist.
Probably something wrong in my environment?
If I'm not mistaken there are DBMS_XMLGEN 9i.
The source code is available under
karthick% ls -lrt $ORACLE_HOME/rdbms/admin/dbmsxml.sql -rw-r--r-- 1 oracle dba 7977 Mar 23 2004 /home/oracle/product/10.2.0.5/rdbms/admin/dbmsxml.sql
You can take this and run to install DBMS_XMLGEN.
How to filter the records that contains the Spanish character?
Hello
I had an obligation to always records based on the Spanish character.
Kindly guide me for below.
To filter the records that contains Spanish characters?
For example, I had a value in the column name as 'Sureshn '.
My query should return the above folder that contains the Spanish character "N".
Please do the necessary help / advice on that.
Thank you
OraharI don't know what you want, because if you want a? ¢ Analysys and Sureshn, then my previous query is sufficient. However, maybe something like that.
SQL> ed Wrote file afiedt.buf 1 WITH Sample_Data AS (SELECT 'â?¢ Analysys' str FROM DUAL UNION ALL 2 SELECT 'SureshÑ' str FROM DUAL UNION ALL 3 SELECT 'ABCD' str FROM DUAL UNION ALL 4 SELECT 'WXYZ' str FROM DUAL UNION ALL 5 SELECT 'Saubhik' str FROM DUAL 6 ) 7 SELECT str AS "Contains other than English" from Sample_Data 8* WHERE REGEXP_LIKE(str,'[^[a-z,A-Z,0-9]]*') SQL> / Contains other -------------- â?¢ Analysys SureshÑ SQL> ed Wrote file afiedt.buf 1 WITH Sample_Data AS (SELECT 'â?¢ Analysys' str FROM DUAL UNION ALL 2 SELECT 'SureshÑ' str FROM DUAL UNION ALL 3 SELECT 'ABCD' str FROM DUAL UNION ALL 4 SELECT 'WXYZ' str FROM DUAL UNION ALL 5 SELECT 'Saubhik' str FROM DUAL 6 ) 7 SELECT str AS "Contains English" from Sample_Data 8* WHERE NOT REGEXP_LIKE(str,'[^[a-z,A-Z,0-9]]*') SQL> / Contains Engli -------------- ABCD WXYZ Saubhik
I spent over 5 hours in computer shares with AVG. They said your server messed up my email account. I can access my email account, but the line that reads "delete, move, not spam, more' loads ever... so I can't delete the email or anything else. My email account is to verizon yahoo. I need access to my email for various reasons, one of them being pay several bills online and my email account is where to get confirmation that the payment has gone through! My email works through IE, however. I don't want to use IE to see my email... I use Firefox for everything and it would be a pain in the end to have to switch to IE to access my mail. Not to mention, I hate IE - it's like using WEBTV! It's so slow... [address removed by email, please do not provide sensitive information in a public forum] is my email...
So Safe Mode made no difference?
To test how Firefox works no 'custom' on your system, could you experience in two minutes?
Create a new Firefox profile
A new profile will be your plugins installed by system (for example, Flash) and extensions (e.g., security suite toolbars), but no themes, other extensions or other customizations. It should also have databases of completely fresh settings and cool a cache folder.
Out of Firefox and start in profile to help Manager start > run:
firefox.exe -PDo not delete anything here.
Any time want to switch profiles, exit Firefox and return to this dialog box.
Click on the button to create a profile, assign a name like TEST and skip the option to choose a different folder location. Then launch Firefox in the new profile that you have created.
Yahoo does not improve in the new profile?
When you return to the Profile Manager, you might be tempted to use the button Delete a profile on TEST. It's a little too easy to accidentally delete your 'real' profile, so I recommend you to resist the temptation. If you don't want to clean up later, I suggest to make a backup of all your profiles first in case something go wrong.
How to restore the drop down from the menu bar at the top that contains bookmarks?
I tried to remove the Yahoo toolbar, when I turned off accidentally unrolling of the menu bar at the top that contains bookmarks. How to restore the menu drop-down?
Is s.o.
In addition, what happened to the file, edit and view menus? if you want to have the menu bar displayed normally.
Where does FireFox get the default value for a preference of. What is the format of the file that contains the default value? I need the actual default value for an individual preference.
Topic: config shows some default values, but I need the source from which everything: config returns to the default value.
Any help in this direction is greatly appreciated.User Agent
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x 64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
The preferences that are not hidden if they have by default are stored in two JavaScript text files in the Firefox program folder
You can open them in a tab in Firefox through these links:
resource:///defaults/pref/firefox.js
resource:///greprefs/all.js
Original title: trayapp
When I open the computer message appears, the component you are trying to use is on a network that is not available. Click OK to try again or enter a different path to the folder that contains the installation packagr 'TrayApp.msi' in the box below.
C:\Users\user\AppData\Local\Temp\7zS5216\setup\TrayApp\
When I click ok the message this way that c:\users\user\appdata\local\temp\7zs5216\setup\trayapp\ is not found. Verfy that you have access to this location and try again or try to find the 'TrayApp.msi' in installing a package file from which you can install the product'TrayApp.
When I try to cancel the warning message, is that an installation package for the TrayApp product is not found. Again the installation again using a valid copy of the 'TrayApp of installation' package. I already uninstalled all HP products, but this message is still bothering me, how to solve this problem?Hey Tama,
-What version of windows is installed on the computer?
-Have there been recent changes to the computer before the show?I recommend you go through the next HP document and check if it helps.Hope this information is useful.I use Windows 7 Ultimate x 64. I found that when I review the folder that contains large files (more than 5 GB each, for example the HIDEF mkv files), Explorere.exe stopped working and restart.
However, I can open these files when I open them directly from the program (i.e. KMPlayer). Here are 2 events after restart and Explorer.exe crash. I got them from event viewer
I am facing this problem in Mode safe too!
PLEASE HELP T___T
++++++++++++++++++++++++++++++++++++++++++++++++++++
Log name: Application
Source: Application error
Date: 3/2/2553 06:46:01
Event ID: 1000
Task category: (100)
Level: error
Keywords: Classic
User: n/a
Computer: beersonic-PC
Description:
The failing application name: Explorer.EXE, version: 6.1.7600.16450, time stamp: 0x4aebab8d
Name of the failed module: qedit.dll, version: 6.6.7600.16385, time stamp: 0x4a5be02b
Exception code: 0xc0000005
Offset: 0x000000000006bb73
ID of the process failed: 0x133c
Start time of application vulnerabilities: 0x01caa461b0159e53
The failing application path: C:\Windows\Explorer.EXE
Path of the failing module: C:\Windows\System32\qedit.dll
Report ID: 1dd76da9-1055-11df-a980-00195bd2573a
The event XML:
1000
2
100
0 x 80000000000000
12147
Application
beersonic-PC
Explorer.EXE
6.1.7600.16450
4aebab8d
Qedit.dll
6.6.7600.16385
4a5be02b
c0000005
000000000006bb73
133C
01caa461b0159e53
C:\Windows\Explorer.exe
C:\Windows\System32\qedit.dll
1dd76da9-1055-11df-A980-00195bd2573a
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Log name: Application
Source: Windows Error Reporting
Date: 3/2/2553 06:46:12
Event ID: 1001
Task category: no
Level: Information
Keywords: Classic
User: n/a
Computer: beersonic-PC
Description:
10675835, 4 the fault type bucket
Event name: APPCRASH
Answer: No available
Cabin ID: 0Signature of the problem:
P1: Explorer.EXE
P2: 6.1.7600.16450
P3: 4aebab8d
P4: qedit.dll
P5: 6.6.7600.16385
P6: 4a5be02b
P7: c0000005
P8: 000000000006bb73
P9:
P10:Attached files:
C:\Users\beersonic\AppData\Local\Temp\WER168C.tmp.WERInternalMetadata.XMLThese files are available here:
C:\Users\beersonic\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_Explorer.EXE_f03929de6e484ca527e71d77fa7726e518545eb_117b41d0Symbol of the analysis:
Recheck for solution: 0
Report ID: 1dd76da9-1055-11df-a980-00195bd2573a
State: 0
The event XML:
1001
4
0
0 x 80000000000000
12148
Application
beersonic-PC
10675835
4
APPCRASH
Not available
0
Explorer.EXE
6.1.7600.16450
4aebab8d
Qedit.dll
6.6.7600.16385
4a5be02b
c0000005
000000000006bb73
C:\Users\beersonic\AppData\Local\Temp\WER168C.tmp.WERInternalMetadata.XML
C:\Users\beersonic\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_Explorer.EXE_f03929de6e484ca527e71d77fa7726e518545eb_117b41d0
0
1dd76da9-1055-11df-A980-00195bd2573a
0
+++ RESOLVED +++
I found the problem...
"Haali splitter" program has a function to display MKV and MP4 as a thumbnail in Windows Explorer. What Windows Explorer crash when I open the folder with MKV huge.
Thank you all,
Is it possible to get the name of the folder that contains the current document?
Hi all!
I know how to get the name of the active document
app.activeDocument.name;
but I was wondering if you could also get the name of the folder that contains the current document. Not sure if this is possible or not, so I thought I'd ask, if so it save me a lot of time.
Thanks in advance!
Hi djbgraphicdesign,
does this work for you?
if (app.activeDocument.saved){ alert(app.activeDocument.path.name); }Have fun
Trouble with the pivot and the columns that contain numbers/spaces
Hello
I have trouble with the pivot statement.
How could I do this just for columns that are numbers?
How could I do this just for columns that contain spaces?
Can someone please help?
based on the documentation of Carsten Czarski
http://SQL-PLSQL-de.blogspot.com/2007/08/kreuztabellen-in-Oracle11g-SQL-pivot.html
essentially to help:
--------------------
Select deptno, sum (clerk), sum (salesman), sum (manager)
of (emp) pivot
Sum (SAL) of EMPLOYMENT
in ("CLERK" as a 'CLERK', 'SELLER' as 'SELLER', 'MANAGER' as 'MANAGER')
)
Deptno group
--------------------
DEPTNO SUM (CLERK) SUM (SALESMAN) SUM (MANAGER)
---------- ---------- ------------- ------------
30 950 5600 2850
20 1900 2975
10-1300-2450
I tried to run at my own table:
NAME MONAT WERT
-------------------------------------------------- ---------- ----------
5 Antarctica 404,84
Asia 7 106,41
Oceana 2 456,96
4 the Europe 426,23
9 Antarctic 537,56
Europe 9 832,58
The South America 12 662,41
Europe 4 422,27
America of the North 7 312,19
America of the North 10 148,92
10 selected lines.
But running:
--------------------
SELECT name, sum (1), sum (2), sum (3), sum (4), sum (5), sum (6), sum (7), sum (8), sum (9), sum (10), sum (11), sum (12)
(pivot) apex_wksp.demo_pivot2
Sum (Wert) for monat
in ('1 ', '2', ' 3', '4 ', '5', '6', '7',' 8 ', ' 9',' 10', ' 11 ', ' 12')
)
Group by name
;
--------------------
led to:
Antarctica 1 2 3 4 5 6 7 8 9 10 11 12
North America 1 2 3 4 5 6 7 8 9 10 11 12
Oceana 1 2 3 4 5 6 7 8 9 10 11 12
The South America 1 2 3 4 5 6 7 8 9 10 11 12
Europe 1 2 3 4 5 6 7 8 9 10 11 12
Asia 1 2 3 4 5 6 7 8 9 10 11 12
6 selected lines.
not quite what I expected.
In addition,
--------------------
Select monat, sum (Antarctica), sum (North America), sum (Oceana), sum (South America), sum (Europe), sum (Asia)
(pivot) apex_wksp.demo_pivot2
Sum (Wert) name
("Antarctic", "North America", "Oceana", "South America", "Europe", "Asia")
)
Group by name
;
---------------------
ORA 907 results
I know what the problem is - but how do I do it right?
using double quotes or replace (ing) space with just underscores seems to garble sql for the unreadable.
Help, please.
Thanks in advance,
Michael WeinbergerAttention to the rotated default column alias:
SQL> with demo_pivot2 as ( 2 select 'Antarctica' name,5 monat,404.84 wert from dual union all 3 select 'Asia',7,106.41 from dual union all 4 select 'Oceana',2,456.96 from dual union all 5 select 'Europe',4,426.23 from dual union all 6 select 'Antarctica',9,537.56 from dual union all 7 select 'Europe',9,832.58 from dual union all 8 select 'South America',12,662.41 from dual union all 9 select 'Europe',4,422.27 from dual union all 10 select 'North America',7,312.19 from dual union all 11 select 'North America',10,148.92 from dual 12 ) 13 select name, sum("'1'"),sum("'2'"),sum("'3'"),sum("'4'"),sum("'5'"),sum("'6'"),sum("'7'"),sum("'8'"),sum("'9'"),sum("'10'"),sum("'11'"),sum("'12'") 14 from demo_pivot2 PIVOT ( 15 sum(wert) for monat 16 in ('1','2','3','4','5','6','7','8','9','10','11','12') 17 ) 18 group by name 19 ; NAME SUM("'1'") SUM("'2'") SUM("'3'") SUM("'4'") SUM("'5'") SUM("'6'") SUM("'7'") SUM("'8'") SUM("'9'") SUM("'10'") SUM("'11'") SUM("'12'") ------------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------- ----------- ----------- Antarctica 404.84 537.56 North America 312.19 148.92 Oceana 456.96 South America 662.41 Europe 848.5 832.58 Asia 106.41 6 rows selected. SQL>
SY.
Maybe you are looking for
-
Perhaps your browser is not able to manage this page
Since firefox 17,0 I get this pop message: "Your browser isn't able to manage this page" whenever I open my page: http://LNX.sinapsi.org/public/OperazioniFrazioni2/OF2.htm I did so many similar pages using Hotpotatoes but neither Internet Explorer no
-
Original title : runtime error program c: program AOL desktop 9.6\aolbrowser\aolbrowser.exc I get this message when I am in the Pogo. Can't my games on poigo except 1. All started a week ago and don't know why. Do not have this problem before.
-
Password reset BIOS HP Pavilion dv4 4172la
I forgot the bios password and I need to get into the bios menu to change some configurationsmy laptop is a HP Pavilion dv4 4172lathe OS is windows 7 64the code appeared is: 62023458 someone knows how can I reset the password?
-
My system has the latest updates installed, but it has not restarted when a power failure occurred. System ran file check at startup and started to only black screen with the mouse. Sticky Keys dialog box and file sharing is just what works. Syste
-
Foglight inconsistency for alarms
Hi everyone, I've noticed difference in notification of alarm between page main monitor for a host (in this example host AD) and its menu of exploration that appear when you click on the Red number 1 and put the photo for example... How can it be tha