Dissapearing nested tables
Please see this package, which contains INDD (CC2014, fully updated) and IDML file.
This file is an excerpt of a catalog which i'm layouting (early phase).
The table contains some nested tables. Somehow, many of these tables "dissapear". They are there, not in overset, but they aren't visible in InDesign nor when exporting to PDF.
InDesign seems to need some trigger to make them visible again, by simply cutting the text frame and pasting it again, or by typing some text in the cell which contains the inline table (doesn't always work). Using an IDML to rebuild the INDD also fixes it.
The INDD is saved with some disappeared nested tables in the right column.
So... the problem is not how to get them back, but how to prevent them from disappearing...
It happens all the time. Seems like a bug, but i'm not sure what causes it. I won't risk building the full catalog using these nested tables if they cannot be trusted.
Any ideas what is causing this behaviour?
As an alternative I could use tabbed paragraph styles instead of tables, but I prefer nested tables because of more flexible styling options (if they don't dissapear offcourse...).
Any help appreciated!
Hm, downloaded your packaged file, opened the InDesign document and the provided IDML file in CC-2014.2.
I can clearly see the problem.
Then tried to use the Story Editor Window to check what is going wrong in the InDesign table.
That crashed my CC-2014.2 instantly:
Process: Adobe InDesign CC 2014 [3310]
Path: /Applications/Adobe InDesign CC 2014.2/Adobe InDesign CC 2014.2.app/Contents/MacOS/Adobe InDesign CC 2014
Identifier: com.adobe.InDesign
Version: 10.2.0.69 (10200)
Code Type: X86-64 (Native)
Parent Process: launchd [171]
Date/Time: 2015-05-13 11:53:55.150 +0200
OS Version: Mac OS X 10.7.5 (11G63b)
Report Version: 9
Interval Since Last Report: 12325693 sec
Crashes Since Last Report: 143
Per-App Interval Since Last Report: 1718998 sec
Per-App Crashes Since Last Report: 14
Anonymous UUID: 6B35CF4F-5E5F-486B-BD55-DA0DF8FA5323
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Regions Near 0:
-->
__TEXT 000000010b3bc000-000000010b3c2000 [ 24K] r-x/rwx SM=COW /Applications/Adobe InDesign CC 2014.2/Adobe InDesign CC 2014.2.app/Contents/MacOS/Adobe InDesign CC 2014
Application Specific Information:
objc[3310]: garbage collection is OFF
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 WidgetBinLib.dylib 0x000000010b7431e7 FrameHitTestPolicyCallback::operator()(PMPoint const&, ITableFrame const*, ITableFrame::HitTestData*) + 55
1 com.adobe.InDesign.Table Model 0x0000000119c04701 0x119b50000 + 739073
2 com.adobe.InDesign.Text Editor 0x000000011532e274 0x1152ca000 + 410228
3 com.adobe.InDesign.Text Editor 0x0000000115329b7f 0x1152ca000 + 392063
4 com.adobe.InDesign.Text Editor 0x000000011533168e 0x1152ca000 + 423566
5 com.adobe.InDesign.Text Editor 0x000000011533134e 0x1152ca000 + 422734
6 com.adobe.InDesign.Text Editor 0x00000001153301e6 0x1152ca000 + 418278
7 com.adobe.InDesign.Text Editor 0x000000011532febd 0x1152ca000 + 417469
8 com.adobe.InDesign.Text Editor 0x00000001152f0f13 0x1152ca000 + 159507
9 com.adobe.InDesign.Application UI 0x0000000115a6fd37 0x115a68000 + 32055
I suspect, that something in your InDesign table is very, very wrong. May be the table is corrupt.
Exporting to IDML and working on with the IDML file would be my recommendation.
Uwe
Similar Messages
-
Problem in creation of Nested Table
Hi Everyone,
I have applied thisexample for creating nested tables but at the end I got the message of invalid datatype
current_address full_mailing_address_type,
ERROR at line 4:
ORA-00902: invalid datatype
http://www.praetoriate.com/oracle_tips_nested_tables.htm
Please help me out.....
Message was edited by:
DharmendraWhat is the output for
select * from user_types
? -
Nested tables and multiset operators in Oracle 10g
Consider the following scenario:
We have two identical relations R and S defined as:
CREATE TABLE R(
a INTEGER,
b table_type)
NESTED TABLE b STORE as b_1;
CREATE TABLE S(
a INTEGER,
b table_type)
NESTED TABLE b STORE as b_2;
where table_typ is defined as
CREATE TYPE table_typ AS TABLE OF VARCHAR2(8);
Suppose we have two instances of R and S, each having one tuple as follows: R(1,table_typ('a','b')) and S(1,table_typ('b','c')).
I would like to "merge" these two simple instances (e.g., achieve the effect of a simple SELECT * FROM R UNION SELECT * FROM S query) and obtain the following resulting instance: Result(1,table_typ('a','b','c')).
Would this be possible in Oracle 10g? A simple UNION does not work (I got a "inconsistent datatypes: expected - got SCOTT.TABLE_TYP" error). I also took a look at the MULTISET UNION operator over nested tables available in Oracle 10g, but it doesn't seem to get me anywhere. Any help on this would be greatly appreciated.
Thank you,
LauraOracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> CREATE OR REPLACE TYPE table_type AS TABLE OF VARCHAR2 (8);
2 /
Type created.
SQL> CREATE TABLE r(
2 a INTEGER,
3 b table_type)
4 NESTED TABLE b STORE as b_1;
Table created.
SQL> CREATE TABLE s(
2 a INTEGER,
3 b table_type)
4 NESTED TABLE b STORE as b_2;
Table created.
SQL> INSERT INTO r VALUES (1, table_type ('a', 'b'));
1 row created.
SQL> INSERT INTO s VALUES (1, table_type ('b', 'c'));
1 row created.
SQL> COLUMN c FORMAT A10;
SQL> SELECT r.a, r.b MULTISET UNION DISTINCT s.b c
2 FROM r, s
3 WHERE r.a = s.a;
A C
1 TABLE_TYPE('a', 'b', 'c')
SQL> -
Nested tables in RTF templates
Hi,
I've developed several templates including nested tables(to display parent/child transactions together in a single column group, displaying all the detail transactions but the parent only once), in PDF output this looks fine. However the users want all their output in Excel, this same layout is not picked up by Excel(all column headers for the data in the nested table move to the right, while all the data in the nested table is grouped under a 'merged cell' column header). Output of BI Publisher reports in Excel is generally terrible with a template designed for publishing in PDF, usually I can solve this with a lot of tweaking but haven't found a solution for this issue yet. Has anyone else run into this formatting issue and may have a tip to solve this?
Regards,
ArthurHi,
You need to declare a TYPE object as and then use it in the table structure.
CREATE TYPE type_emp IS TABLE OF VARCHAR2(15);
CREATE TABLE Biscuits Company SA
(company_name COMPANY NOT NULL,
Company_Owner VARCHAR2(20) NOT NULL)
NESTED TABLE staff_tab STORE AS type_emp;
Please see the link for more info.
http://www.developer.com/db/article.php/10920_3379271_3
Thanks -
Hi,
I am getting blank page because of page break after nested table.
When page is full with the records then because of nested table, it added one space after that.
Has anyone faced this issue before?
ThanksHi,
Upload the .rtf template and XML sample so we can see your issue.
Also I recommend you to review our page-break document:
http://docs.oracle.com/cd/E28280_01/bi.1111/e22254/create_rtf_tmpl.htm#BIPRD2457
Regards,
Liviu -
Associative Array to Nested Table: Anything faster?
(First Post! Some ASP.NET references, but I think this really is a PL/SQL question)
I work on a team that runs an Oracle instance for data warehousing and reporting along with an ASP.NET based website for display.
Sometimes, I may want to have many parameters come in and only show records that match those parameters. For example, I may want to show all employees who are Managers or Developers and not show employees who are Accountants or Scientists. Typically, I send a parameter into my PL/SQL stored procedures as an associative array (as declared in my package specification). Once in the procedure, I convert that associative array into another associative array (as a user created SQL type) and then I'm able to use it like a nested table to join on.
My question is: in your experience, is there any way to get around this type conversion or another faster way?
For example:
-- Create the sql type
CREATE OR REPLACE TYPE DIM.sql_string_table AS TABLE OF VARCHAR2(255);
--pretend that this works and it's in a package body
declare
type string_table is table of varchar2(255) index by binary_integer;
l_job_types string_table; -- Keep in mind I'd normally be sending this via ASP.NET
l_job_types_nested sql_string_table := sql_string_table();
begin
-- Add some data
l_job_types(0) := 'Manager';
l_job_types(1) := 'Developer';
-- Do the conversion
for i in l_job_types.first .. l_job_types.last
loop
l_job_types_nested.extend;
l_job_types_nested(l_job_types_nested.count) := l_job_types(i);
end loop;
-- get some data out (we're pretending)
open fake_ref_cursor for
Select e.*
from employees e,
the(select cast(l_job_types_nested as sql_string_table) from dual) jobs_types_wanted
where e.type = value(jobs_types_wanted);
end;
The result would be all employees whose have a type that was input into the l_job_types associatve array.
See: http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:110612348061
for additional reference> I convert that associative array into another associative array (as a user created SQL type)
Just so we're clear, Oracle use the term 'associative array' to refer to the exclusively PL/SQL sparse collection type ("table of x index by pls_integer" etc) as distinct from the common nested table collection type.
Also I could be wrong but I think
SELECT ..
FROM the(select cast(l_job_types_nested as sql_string_table) from dual) jobs_types_wantedis generally the same as
SELECT ..
FROM TABLE(l_job_types_nested) jobs_types_wantedthough "SELECT *" and implicitly collection casting don't always mix. The "THE()" syntax is deprecated. -
How to use nested tables with the inner table in a separate row
Hi,
I am having a problem when changing our existing Adobe printform delivery note so that serial numbers are written for each item line.
I've searched the forum and found many posts relating to nested tables, but none that had exactly my situation.
Currently I print item lines like this (this uses the complete width of the form):
Pos....Quantity...Material..........Description..................................................Date
99.........99.........ABCDEFGH....alksdalksjdlkasjdlsajdlkjasldjaslkdjakslj........9999.99.99
.................................................fskdjflsdfljsdflkjsdlkfjsdlkjfdfsf
.................................................asdkadsfdkfhsdkfhskjdfhks
but I want to add serial numbers after that for each item like this:
Pos....Quantity...Material..........Description...................................................Date
99.........99.........ABCDEFGH....alksdalksjdlkasjdlsajdlkjasldjaslkdjakslj.........9999.99.99
.................................................fskdjflsdfljsdflkjsdlkfjsdlkjfdfsf
.................................................asdkadsfdkfhsdkfhskjdfhks
.................................................Serial numbers:
.................................................9999999999..9999999999..9999999999
.................................................9999999999..9999999999..9999999999
I have added serial numbers to my the current table in the interface/context/data view so it look like this:
TTYP - ITEM_FIELDS
...DATA structure
......POSNR
......QTY
......MATNR
......TTYP - ITEM_TEXTS
.........DATA structure
............DESCRIPTION
......DATE
......TTYP - SERIAL_NOS
.........DATA structure
............SERIAL_COL1
............SERIAL_COL2
............SERIAL_COL3
In my Hierarchy I currently have this hierarchy and binding:
Table - ITEM_FIELDS
...Body Row - DATA
......Cell - POSNR
......Cell - QTY
......Cell - MATNR
......Subform - ItemTexts
.........Table - ITEM_TEXTS
............Body Row - DATA
...............Cell - DESCRIPTION
......Cell - DATE
Now I am trying to add the SERIAL_NOS table into the ITEM_FIELDS/DATA body row right after the DATE cell - but I am not allowed to drag anything into the table structure.
Does anybody have an ida how I can achieve this, please?
Kind regards,
Claus ChristensenHI,
Set the body page as flowed and set the tables also flowed.
go to bodypage>object->subform-->select flowed option.
I thihnk this will work..if u are getting all the records properly into the tables 1 and 2.
Thanks,
Mahdukar -
How to delete the NULL entries in nest table
Hi,
After I used a loop and open/fetch cursor populated the object table
I found there are random NULL entries in my object table (nest table)
The data look like this
NULL NULL NULL
NULL NULL NULL
123 03-MAY-04 ACTIVE
NULL NULL NULL
NULL NULL NULL
234 21-MAY-04 ACTIVE
NULL NULL NULL
345 11-MAY-04 ACTIVE
NULL NULL NULL
How can I get rid of those NULL entries in my nest table? So it can become
123 03-MAY-04 ACTIVE
234 21-MAY-04 ACTIVE
345 11-MAY-04 ACTIVE
Additional info:
create type myType as object
(id NUMBER (10,0),
eff_date date,
status VARCHAR2(17)
create type myNestTab as table of myType;
I have tried Delete procedure in following two ways.
Version 1:
FOR i IN l_my_nest_tab.FIRST..l_my_nest_tab.LAST
LOOP
IF l_my_nest_tab(i).id IS NULL THEN
l_curr_event_tb.DELETE(i);
END IF;
END LOOP;
Version 2:
FOR i IN l_my_nest_tab.FIRST..l_my_nest_tab.LAST
LOOP
IF l_my_nest_tab(i) IS NULL THEN
l_curr_event_tb.DELETE(i);
END IF;
END LOOP;
Both of them give me the error no data found. And only left me the first NOT NULL entry in the table.
123 03-MAY-04 ACTIVE
Thanks in avdance.Hi Vishnu,
u can write a report program for this and in that use the event :
AT NEW <field-name> ( use primary key)
your statements
ENDAT
for eg.
loop at itab ( herfe itab must be of type of table for which u want to track new entries)
at new matnr
write:/ new record
endat
endloop.
schedule this report in background to run in every 5 or 10 mins as per your requirement and hence changes can be tracked.
regards
Vinod -
Object Modelling Question: How do I create multiple nested table columns in one table
Hi there,
I have a XML doc which is as follows:
<PERSON>
<ADDRESSLIST>
<ADDRESS>111, Hamilton Ave </ADDRESS>
<ADDRESS>222, Cambell Ave </ADDRESS>
</ADDRESSLIST>
<PHONELIST>
<PHONENO>4085551212 </PHONENO>
<PHONENO>6505551212</PHONENO>
</PHONELIST>
</PERSON>
I need a table that looks as follows:
Create table person
(addresslist address_table,
phonelist phone_table
I would like to create a table called person with columns addresslist and phonelist. Each defined as object type table of address and table of phones.
Can anybody please tell me how can I do this.
I have seen that there can only be one nested table per table. If so, how do we do this.
Thanks so much
Pramodpelle.k wrote:
peets wrote:Hehe because it's less typing!
Good one!
Also, it's by far the more dynamic method.
If you want to get pedantic, it's also far less efficient in terms of execution time: each iteration of the loop forks a new process, whereas using a single mkdir command forks only once. The "best" way is the curly-braces method demonstrated above by chimeric. -
Nested Tables in Visual Composer 7.0
Gurus,
When I am trying to drag and drop the webservice in the Iview it gives a warning message "Port 'Salesorder' was omitted because it includes nested tables which are not presently supported by Visual Composer" . My question is how to use this webservice which has nested table in one of the input port. Is there any work around or can you suggest me any other way we can call this webservice "ECC_SalesOrderCTRC1".Hi,
Nested tables are not supported by this version of VC.
This is an architectural problem and I don't know of any work around for it (other than changing the WS).
Nested tables are and will be supported in VC CE (7.1).
Regards,
Shay -
How to use nested tables in adobe form
Hi All,
I have to use nested tables in adobe form for table display. I have used Subforms for displaying table data. I have changed accessibility of the subforms. Currently i am able to print print the table correctly if there is single material record in table 1 and single corresponding record in table 2. But the requirement is that i will have multiple lines in table 1 for single material and only one record in table 2.
EX: form is for Sales order. in line items if the order is for 100 units then we if we have delivered material as 80, 10, 10, then table 1 will have 3 lines for this. Table 2 will always have only 1 corresponding record.
item--materialdescription-ordered qty--delivered qty--delivery date-price
xxx--xxxxxxx-xxxxxxxxx-10080xxxxxxxxxx-xxxx
10----
xxxxxxxxxx
10----
xxxxxxxxxx
yyyyyyyyyyyyyyyyyyy------yyyyyyyyyyyyyyyyyyyyy
xxxxxx is table 1 and will have multiple lines
yyyyyy is table 2 and will have only 1 entry for item xxx
and this group will be repeate as per no of items. table 1 can have any no of lines per item.
I am currently able to display 1 line for table 1 and 1 line for table 2.
But how to show multiple lines for table 1 and 1 line for table 2.HI,
Set the body page as flowed and set the tables also flowed.
go to bodypage>object->subform-->select flowed option.
I thihnk this will work..if u are getting all the records properly into the tables 1 and 2.
Thanks,
Mahdukar -
Problem in creating a nested table
Hi i am working on Oracle 10g and cleint is sqlplus.
Now while creating a nested table following error occured.
This is the script for your reference.:
CREATE OR REPLACE TYPE sec_pwd_hist_table
AS
TABLE OF sec_pwd_history_type
index by binary_integer
Warning: Type created with compilation errors.
SQL> show error
Errors for TYPE SEC_PWD_HIST_TABLE:
LINE/COL ERROR
0/0 PL/SQL: Compilation unit analysis terminated
3/1 PLS-00355: use of pl/sql table not allowed in this context
Please help on this issue
Regards,
Vikas Kumar> but i want to know just one thing why its working when i am removing "INDEX BY binaty_integer"
Vikas, I trust I answered that question when I said? :
"Do not confuse the two. Do not attempt to use PL/SQL array struct definition syntax in the SQL engine for defining an ADT collection. Which is why I referred you to the manual to see how an ADT is defined in SQL."
In other words, you are trying to apply a PL/SQL concept and PL/SQL syntax to a definition of a data type in SQL.
SQL is not PL/SQL.
SQL ADTs are not PL/SQL arrays/tables.
It is not even a syntax issue - it is a basic concept issue. SQL does not support PL/SQL arrays/tables. Period. -
Unable to retrieve data from a nested table in Oracle 8i from JSP
How do i retrieve data from a nested table in Oracle 8i from my JSP code?
When i try to execute the query , a general error is thrown.
Kindly advice as soon as possible.How do i retrieve data from a nested table in Oracle 8i from my JSP code?
When i try to execute the query , a general error is thrown.
Kindly advice as soon as possible. -
How to insert reference of object in nested table
hi , i have a problem with nested table :
CREATE OR REPLACE TYPE ITEM AS OBJECT
ITEM_ID NUMBER,
ITEM_DES VARCHAR2(4000),
PRODUCT_NO VARCHAR2(15),
PRODUCT_DES VARCHAR2(4000)
CREATE TABLE ITEMS OF ITEM
CONSTRAINT ITEM_PK PRIMARY KEY (ITEM_ID)
CREATE OR REPLACE TYPE BOM AS OBJECT
BOM_ID NUMBER,
ITEM_ID NUMBER,
BOM_PARENT_ID number
create or replace type boms as table of ref bom;
create table bom_table
bom_ids bom,bom_member boms
) nested table bom_member store as bom_childs;
insert into bom_table (bom(1,1,null),null);
insert into bom_table (bom(2,1,1),boms(select ref(t) from bom_table t where t.bom_id=1))
show error.
how i can insert in nested table reference of object
thanksyour table "bom_table" is not an object table or view, and thus you can't create object references to it's rows. you'll need to create an object table or view of "bom" objects, with a corresponding object identifier, and then reference that table/view in your subquery instead.
Gerard -
How to insert into a table with a nested table which refer to another table
Hello everybody,
As the title of this thread might not be very understandable, I'm going to explain it :
In a context of a library, I have an object table about Book, and an object table about Subscriber.
In the table Subscriber, I have a nested table modeling the Loan made by the subscriber.
And finally, this nested table refers to the Book table.
Here the code concerning the creation of theses tables :
Book :
create or replace type TBook as object
number int,
title varchar2(50)
Loan :
create or replace type TLoan as object
book ref TBook,
loaning_date date
create or replace type NTLoan as table of TLoan;
Subscriber :
create or replace type TSubscriber as object
sub_id int,
name varchar2(25)
loans NTLoan
Now, my problem is how to insert into a table of TSubscriber... I tried this query, without any success...
insert into OSubscriber values
*(1, 'LEVEQUE', NTLoan(*
select TLoan(ref(b), '10/03/85') from OBook b where b.number = 1)
Of course, there is an occurrence of book in the table OBook with the number attribute 1.
Oracle returned me this error :
SQL error : ORA-00936: missing expression
00936. 00000 - "missing expression"
Thank you for your help1) NUMBER is a reserved word - you can't use it as identifier:
SQL> create or replace type TBook as object
2 (
3 number int,
4 title varchar2(50)
5 );
6 /
Warning: Type created with compilation errors.
SQL> show err
Errors for TYPE TBOOK:
LINE/COL ERROR
0/0 PL/SQL: Compilation unit analysis terminated
3/1 PLS-00330: invalid use of type name or subtype name2) Subquery must be enclosed in parenthesis:
SQL> create table OSubscriber of TSubscriber
2 nested table loans store as loans
3 /
Table created.
SQL> create table OBook of TBook
2 /
Table created.
SQL> insert
2 into OBook
3 values(
4 1,
5 'No Title'
6 )
7 /
1 row created.
SQL> commit
2 /
Commit complete.
SQL> insert into OSubscriber
2 values(
3 1,
4 'LEVEQUE',
5 NTLoan(
6 (select TLoan(ref(b),DATE '1985-10-03') from OBook b where b.num = 1)
7 )
8 )
9 /
1 row created.
SQL> select *
2 from OSubscriber
3 /
SUB_ID NAME
LOANS(BOOK, LOANING_DATE)
1 LEVEQUE
NTLOAN(TLOAN(000022020863025C8D48614D708DB5CD98524013DC88599E34C3D34E9B9DBA1418E49F1EB2, '03-OCT-85'))
SQL> SY.
Maybe you are looking for
-
Hi i have a small doubt in while i was performing a transaction code KSB1 by entering that i got the back ground program in which i saw a statement in the start of program but1 = text-bt1. so now i want to know what is the use of "but" and can u pro
-
Any pointers on locating an external HD?
I was able to see my external drive when I installed Lion. After I updated it however, I lost the ability to see it. It was a clone of my corrupted drive and I REALLY need the files on it. I saw it once already right after I installed Lion off the bo
-
The sound in my headphones fade every 30 seconds or so. Any ideas what it might be?
Whenever I listen to music using my headphones, the sound is perfectly fine at first before it slowly fades out and nothing seems to work. When I unplug the headphones and plug them in again, there's sound for about 30 seconds before it fades out aga
-
HT1751 Restored music files from hard drive to c drive to itunes
Finally got the albums restored but now missing half the artwork. Even when I click Get Album Artwork, it does not restore all that I had before.
-
Compressor seems to take forever for my video.
I just started using an older Sony FX1 HDV camcorder. I want the 1080i video which is the component out, so i got a Blackmagic Intensity Pro Card. I'm capturing the component through this card. Is this what is taking my compressor soooooo long to wor