Help!

Problem With Report Export to Text File

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Reports RSS
Next:  Your web promotion  
Author Message
ItNeverWorks1stTime
External


Since: Oct 12, 2009
Posts: 1



PostPosted: Mon Oct 12, 2009 6:54 am    Post subject: Problem With Report Export to Text File
Archived from groups: microsoft>public>access>reports (more info?)

I have created a report that needs to be exported to a Text File.

Everything looks good on screen and when the report is printed as an Access
report, but when I export to a Text File extra line breaks are inserted after
every 2nd or 3rd line of the Detail section.

In trying to resolve the problem, I have stripped down the complexity of the
detail to a simple Unbound Text Box containing a single 4digit element and
still the output to a Text File inserts extra linebreaks after 2 or 3 lines.

If I increase the Height of the Detail section from the minimum (which is
what I require) I get more lines appear on the Text File, perhaps 7 or 8
before an erroneous extra line is inserted.

Any ideas, it has been frustrating me for days trying to resolve this problem.
Back to top
Duane Hookom
External


Since: Feb 07, 2005
Posts: 1359



PostPosted: Mon Oct 12, 2009 9:26 am    Post subject: RE: Problem With Report Export to Text File [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

What I have done in the past is to set the fonts in the detail section to
quite small (try 6 or 7 point). Set the text boxes and detail height as small
as possible and don't allow them to grow. Then try your export to text.

--
Duane Hookom
Microsoft Access MVP


"ItNeverWorks1stTime" wrote:

> I have created a report that needs to be exported to a Text File.
>
> Everything looks good on screen and when the report is printed as an Access
> report, but when I export to a Text File extra line breaks are inserted after
> every 2nd or 3rd line of the Detail section.
>
> In trying to resolve the problem, I have stripped down the complexity of the
> detail to a simple Unbound Text Box containing a single 4digit element and
> still the output to a Text File inserts extra linebreaks after 2 or 3 lines.
>
> If I increase the Height of the Detail section from the minimum (which is
> what I require) I get more lines appear on the Text File, perhaps 7 or 8
> before an erroneous extra line is inserted.
>
> Any ideas, it has been frustrating me for days trying to resolve this problem.
Back to top
Mark Andrews
External


Since: Oct 19, 2003
Posts: 46



PostPosted: Tue Oct 13, 2009 10:37 am    Post subject: Re: Problem With Report Export to Text File [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You could always resort to building the text file via code (running through
the query that drives your report etc...).

Mark
"ItNeverWorks1stTime" <ItNeverWorks1stTime DeleteThis @discussions.microsoft.com> wrote
in message news:17895FD7-5B47-4694-941A-431CDB9BB7C0@microsoft.com...
>I have created a report that needs to be exported to a Text File.
>
> Everything looks good on screen and when the report is printed as an
> Access
> report, but when I export to a Text File extra line breaks are inserted
> after
> every 2nd or 3rd line of the Detail section.
>
> In trying to resolve the problem, I have stripped down the complexity of
> the
> detail to a simple Unbound Text Box containing a single 4digit element and
> still the output to a Text File inserts extra linebreaks after 2 or 3
> lines.
>
> If I increase the Height of the Detail section from the minimum (which is
> what I require) I get more lines appear on the Text File, perhaps 7 or 8
> before an erroneous extra line is inserted.
>
> Any ideas, it has been frustrating me for days trying to resolve this
> problem.
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Reports All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum