Data merge: how to get multiple records in a single text?
Hello
I'm experimenting with data merging in InDesign CS3. The biggest obstacle I've met tries to get my record flowing continuous text in a single text frame (which would, ideally, "automatic formatting" on the new pages in the document). Records vary considerably in length, and so I can't just create a standard repeat on the page text frame.
Perhaps, data fusion is not the best way to achieve this and I should be learning to script in place. I feel like I'm just one step, however.
Any suggestion would be appreciated.
Data fusion is not thread. There is a nifty script to Rorohiko who will do it for you after the merger, however. Best strategy is to merge, run the script, delete everything except the first image on the first page, then pick up the excess and auto-flux in the document.
Tags: InDesign
Similar Questions
-
How to concatenate multiple records in a single
Hello world:
I want to know if is a way to concat multiple records into one without the help of the sliders. For example, I have a table named "Authors" like this:
LAN | Author
-----------------
English | Ernest Hemingway
Spanish | Octavio Paz
Spanish | Mario Vargas Llosa
English | Sinclair Lewis
Spanish | Gabriel García Márquez
And I want to get this:
Author
-----------------
Octavio Paz, Mario Vargas Llosa, Gabriel García Márquez
I have worked with SQL Server and I can do something like this:
CREATE FUNCTION dbo. MyConcat (@lan varchar (10))
RETURNS varchar (5000) AS
BEGIN
declare @retvalue varchar (5000)
Set @retvalue = "
Select @retvalue = @retvalue + author + ',' authors where lan = @lan
return substring (@retvalue, 1, len (@retvalue)-1)
END
That is to say, do not use cursors to concatenate records. However, with ORACLE, I do something like that.
FUNCTION MyConcat(P_Lan IN VARCHAR2) VARCHAR2 IS BACK
v_ret VARCHAR2 (4000);
v_element VARCHAR2 (4000);
v_cursor sys_refcursor;
BEGIN
OPEN to SELECT V_cursor author of authors where Lan = P_Lan
LOOP
SEEK v_cursor INTO v_elemento;
OUTPUT WHEN v_cursor % NOTFOUND;
IF v_ret IS NULL THEN
v_ret: = v_element;
ON THE OTHER
v_ret: = v_ret | ', ' || v_element;
END IF;
END LOOP;
RETURN v_ret;
END;
There is another way to to do?
Best regards
JackYou can find plenty of examples here:
http://www.Oracle-base.com/articles/Misc/StringAggregationTechniques.php
and also here:
http://www.sqlsnippets.com/en/topic-11787.html
Published by: hoek on October 21, 2010 17:50
-
How to get multiple records in a line and a different column
Hi all
I am using oracle database 11g
and I have a two table table_1, table_2
table_1 has columns
emp_no
first name
middle_name
last_name
E-mail
and table_2 have columns
emp_no
phone_type
Phone_Number
and having entires
emp_no phone_type phone_number
1001 MOB 9451421452
1001 WEMG 235153654
1001 652341536 EMG
1002 MOB 9987526312
1003 WEMG 5332621456
1004 59612356 EMG
Now I want the output of values with the MOB or WEMG phone type in a single line with different columns
emp_no first_name last_name middle_name officeno mobile e-mail
1001 score null k 9451421452 235153654 [email protected]
1002 chagneau gary [email protected] 9987526312 null
1003 dany craig [email protected] 5332621456 null null
1004 donald finn sian [email protected] null null
Can I have any input to achieve this?
Concerning
$sidHi Sid,
Under query will be help for you...
SELECT tab1.emp_no
*, first name *.
*, middle_name *.
*, last_name *.
*, email *.
*, mobile t2.phone_number *.
*, t3.phone_number officeno *.
OF tab1
*, (SELECT Emp_no *)
*, phone_number *.
Of THE tab2
WHERE phone_type = "MOB") t2
*, (SELECT Emp_no *)
*, phone_number *.
Of THE tab2
WHERE phone_type = "WEMG") t3
WHERE tab1.emp_no = t3.emp_no
AND tab1.emp_no = t2.emp_no;Thnks,
cveluri -
How to get multiple queues in a single queue in weblogic?
Hello
I have three queue q1, q2, q3, in which the message is posted. Is it possible to route the receiveing all message queues three to the queue that is unique so that I can create only a single MDB who will listen to this new queue instead of creating multilateral 3 development registration to the queue waiting banks q1, q2, q3.
Any suggestions would be a great help.
Concerning
-Vinod
Hi Vinod,
1. I think you intend to ask, is possible to send messages from multiple queues of Weblogic to a single MQ? Answer is Yes, but again, you should have several listener/Consumers(For ex: MDBs) to consume the message of Weblogic queues and the post of MQ.
2. Yes, it is possible (which transfers the message from IBM MQ to Weblogic Distributed queue). Note: Only the Member would receive the message (the basic principle of the queue).
The best way to incorporate Weblogic with IBM MQ series is via a foreign JMS server. You can find more information on Oracle Section KM 972848.1
Concerning
Rosario
-
How to view multiple records to a report form - as the model?
Hi all
I developed a form - like model report
I want to show him several records at once (on the same page)
I tried assigning a value of "Maximum records per page" property for the extensible framework 10
but when I close the range property and open it again the value returns to 1!
How to display multiple records on the same page?
Thank youHello
check around your formatting images if all have the "vertical stretch" value to the variable or develop.
-
Does anyone know how to scan multiple pages into a single jpegfile?
When you scan a document of several pages in a file on a network each page gets its own jpeg image scanend file.
HP standalone scanner allow generally allows you to add the multuple scans in a jpeg file.
Any help much appreciated!
Thank you
Joihn
Hello
Well, I don't know how you can read many jpeg files into a SINGLE file. Put scanned images in a folder is a logical way to keep them in one place. From my understanding single jpeg image may be a ONE page document, but many jpeg images cannot be concatinated to be a multiple page document. We can use images, software publishing to put them in a single document, but still only one page (each image is smaller). Using pdf output, you can concatenate/merge a lot of images in a sinlge multi-page file.
Kind regards.
-
How to insert multiple lines using a single query
Hi all
How to insert multiple lines using a single query to the emp table?
I have the number of rows to insert into table x. consumes a lot of time. I tried to insert several lines using a single query, but get errors. I know exactly the query to do this.
Thank you
SunilLike this?
SQL> create table test(id number , dt date); Table created. SQL> insert into test values(&a,&b); Enter value for a: 1 --- It asked me and I entered 1 Enter value for b: sysdate --- It asked me and I entered sysdate old 1: insert into test values(&a,&b) new 1: insert into test values(1,sysdate) 1 row created. SQL>
g.
-
How to scan multiple pages into a single document using the CanoScan LiDE 200?
How to scan multiple pages into a single document using the CanoScan LiDE 200?
I can't find a way to get them to analyze all the time, or a way to put together them later.
Hi dagda24,
You can scan multiple pages into a single document with the scan PDF option. Use the following steps to do:
1. open MP Navigator.
2. click on a Clcik.
3. click Save to PC.
4. change the Type of PDF file to PDF (multiple pages).
5 other changes, as needed, and then click Scan.
-
How to scan multiple documents into a single pdf file of ADF on my MX922?
How to scan multiple documents into a single pdf file of ADF on my MX922?
-
Over my OFFICE JET PRO 8600, how to scan multiple pages into a single document?
How to scan multiple pages into a single document?
Thank you
Hi REDFIERO,
I can help you scan multiple pages to a file.
If you use a Mac, you can perform your analysis with HP Scan and when you save the file, choose PDF. Under the PDF Format you chose you will see the option to save all pages in a single file.
If you are using a Windows operating system, follow the instructions in the following document, Scanning of multiple in a single PDF Pages.
I hope this helps.
-
How to display multiple images in a single window?
How to display multiple images in a single window? I want to compare images side by side, not in tabs.
The editor preferences > General > turn on enable floating documents, then window > images > float all in windows.
-
Data merge multiple records on a single page?
I'm working on a grand layout photos grad with names, of the years and images.
I'm trying to data merge my excel sheet spread if I can have all the images, names and years on one page. There are about 4000 images total (spread through 5 layouts), so I don't want to put all the pictures individually, the names of types and years individually and then re - arrange when we need to add additional images.
My problem is that the same data are reapeating in all fields on the page. Even when I create a new page, the same data made its appearance.
If I saw the data, I can scroll through all of them, but only ever displays both. Multiple data by option on the page are grayed out in the data merge window whenever I try. I use InDesign CS4.
Y at - it something I am doing wrong, or is there another way to approach it?
I agree that it seems like if you duplicated data in your source although I can't gray on the option of multiple data page, if I try. It is perhaps something poick to the top with this clip. Good luck & let us know how make you out.
http://www.theindesigner.com/podcasts/tid43_theindesigner_43.MP4
-
How to get distinct records by using the ListAgg OBIEE report function?
Hi all
I get a correct result as mentioned below. But I don't see duplicates in my result here, in my example, I get duplicate for the name of the employee 'Pat '. So how to get Distinct values by using the LISTAGG function?
Data set of sample with the Department and its employees
Service employee
---------- ----------
Marketing Michael
Pat of marketing
Pat of marketing
Pat of marketing
Purchase of Den
Purchase of Alexander
Purchase of Shelli
Purchase of Sigal
Guy of purchase
Purchase of Karen
Using the ListAgg function, we can convert it to:
Employees of the Department
----------- -------------------------------------
Marketing of Pat, Pat, Pat, Michael
Purchase of Sigal, Shelli, Karen, Guy, Den, Alexander
I tried a lot of things, but I'm not able to understand how exactly this can be achieved, if anyone has any idea or suggestions please do share, thanks in advance.
After much research, I found the solution & I want to share what he finds very useful, we can create SQL logic in the Advanced tab, as below and after you click Rescan, and then you will get your desired results.
SELECT saw_0, Evaluate_Aggr T1.dept ("ListAgg(%1,'' & '') intra group (about 1%)") ("as long as VarChar (1000), T1.emp) saw_1 FROM)
SELECT 'emp_dept '. "the Department dept,
'emp_dept '. "' employee ' emp
IN THE "DOMAIN".
GROUP BY dept, emp
) T1 GROUP FROM T1.dept ORDER BY saw_0
Also note here that we have good anti-aliasing for columns parent (ex: saw_0, saw_1), another by mistake oracle bi server.
-
How to get: fusion record Id displayed when the output of the process of direct mail?
Example:
I'm doing a fusion of the Disqualification, I need to get the record Id that is merged into the gold disk appears in a delimited text. Can you please help me to achieve this?
ex:
Row_id name
1 Anand
2 Anand
3 Anand
After the merger, I need something like that.
Row_id name MergedId
1 Anand 2.3
Should be simple. Add a merged output attribute, use the selector list delimited by some (and the Distinct option, although your credentials are probably separate anyway).
-
Hi all
I use oracle 10g and 10g db forms.
I developed a form and the user will enter data into the form and click that box and press save data button get inserted into the table.
If the user enters data two times and then click on the checkbox and enter the backup of the data that one button get inserted.
Inside this XXBANK_GUARANTEE_HEADERS procedure. XXBANK_GUARANTEE_INSERT I wrote my insert statement.
I have my code is like this
BEGIN
Premier_enregistrement;
LOOP
IF (: System.Last_Record = 'TRUE') THEN
EXIT;
ELSIF: BANK_GUARANTEE_BLK. CHECK_IN_OUT = 'Y '.
THEN
XXBANK_GUARANTEE_HEADERS. XXBANK_GUARANTEE_INSERT;
Next_Record;
END IF;
END LOOP;
END;
Can someone pls correct me where I went worng.
concerning
srikkanthHi try
BEGIN First_Record; LOOP IF :BANK_GUARANTEE_BLK.CHECK_IN_OUT = 'Y' THEN XXBANK_GUARANTEE_HEADERS.XXBANK_GUARANTEE_INSERT; END IF; Exit when :System.Last_Record = 'TRUE' Next_Record; END LOOP; END;
It is because once it reaches the last record, you have coded out, even before processing the file.
Now, I put this condition of release at the last
Maybe you are looking for
-
My car requires a two page sign-in Firefox does not allow me to go beyond the page 1.
During an attempt to log-in to my car, I type my ID on the page and press ENTER. Firefox has this message "Firefox prevented this page automatically redirecting to another page." If I click on allow it sends me back to page one.
-
Windows Xp 64-bit will be able to run Firefox 7
I hesitate to try FF7 because I had to remove Firefox when I tried to install FF6 and then reinstall FF5.
-
Can not boot from HDD after bios update [Z510]
Hello I've just updated my bios on my Z510, and now only boot options I have is the network boot, something that I don't use. I used the tool to update the bios that Lenovo is distrubiting from page of the drivers for my PC. Can someone help me with
-
Hello I am currently working on getting version screws to invoke the node, but it does not work well when I do one. EXE, I am now looking for information to get the version of VI read as a text, I found the info manually for 2011 and 2012 screws but
-
BlackBerry Smartphones my BB suddenly stopped to receive messages
When I turned on my BB tour this morning he has not received all e-mail messages. I checked and the network is enabled and working and I can receive calls. I checked my computer and I have no unread emails. Nobody knows what is happening... I made me