Let's take the focus away from the report for the moment.
I need to know a bit about the query (what is its name and what is the SQL code for it)?
When run natively (again not the report - just running the query) does it include any blank lines then?
Hi there,
I created a table named RT1_Declarant_ Information_1_TBL
I created fields in this table. Then I made a query.
The query's name is Query1. I created an Expr1 field in the query to concatenate all the fields and put it in 1 field which is Expr1
sql view of query:
SELECT [SEQ_NUM] & [TYPE] & [DECLARANTS] & [FILENAME] & [CALENDAR_YR] & [O/R] & [DECLARATION_STATUS] & [NAME_BUSNAME_DEC] AS Expr1
FROM [RT1_Declarant_ Information_1];
If I run the concatenated query Expr1: [SEQ_NUM] & [TYPE] & [DECLARANTS] & [FILENAME] & [CALENDAR_YR] & [O/R] & [DECLARATION_STATUS] & [NAME_BUSNAME_DEC]
and export it in Export Text wizard as text, with delimited, Other: | (pipeline)
and Text qualifier as none>next>finish
I can get the desired output without quotes. But this is a very long process for a user.....
If I try to use Query1 to make a Report. The Output appears like this:
00000004100023569995DIRF2008R1131200811SMITH,JULES
00000005145467623417979DIRF2008O2100200811WAYNE,BR UCE
00000006100087844554DIRF2008O2111200811ANDREWS,REN EE
00000007178797998989945DIRF2008O1120200801ALLEN,MA RK
00000008100098989255DIRF2008O1131200811OWEN,HALLE
00000009147232645666665DIRF2008O1100200811MOONIE,I AN
00000010100059855685DIRF2008O1111200811CASTILLO,MA NUEL
00000011158956563365886DIRF2006R1220200810AMANTE,P OPE
00000012115487875215457DIRF2002R1231200810SALTA,NE IL
Is there a macro that can output textfile from a query without quotes so I can just use a macro in a Command button.
I would like to export data from an existing concatenated query Expr1 to an output textfle without spaces..
Thanks again. :)