在代码中输出为PDF时,报表格式在某些项目上消失 [英] Report formatting Disappears on Some Items when Output to PDF in Code

查看:71
本文介绍了在代码中输出为PDF时,报表格式在某些项目上消失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 -


我的报告是14个柱状子报告(排队:位置 -

持有人在我们的14个地点 - 经理,助理经理,

接收,办公室等)。


我直接输出到PDF(使用来自本网站的ConvertReportToPDF -

Stephan Lebans)


格式 - 某些字段的轮廓 - 不出现在子报告上

12-14(第12-14列)。 />

我尝试删除一些字段周围的一些框,认为

它只是太多了在某个地方,但那没有用。

有什么想法吗?我不知道是否必须通过电子邮件发送mdb和数据来支付某些人来解决这个问题。我以前用代码写过PDF

- 没问题。这写入PDF,只是丢失了一些

格式化行。


谢谢 -

sara

解决方案

2008年4月22日星期二08:09:50 -0700(PDT),sara< sa ******* @ yahoo.com>

写道:


是否真的有必要创建所有这些子报告,或者你可以使用一个单独的报告吗?分组等级

位置?


-Tom。


>嗨 -

我的报告是14个柱状子报告(排队:位置 -
持有人在我们的14个地点 - 经理,助理经理,
接收,办公室等)。

我直接输出到PDF(使用来自本网站的ConvertReportToPDF -
Stephan Lebans)

格式化 - 某些领域的概述 - 不要出现在子报告上12-14(第12 - 14栏)。

我尝试删除某些字段周围的一些框,思考这只是太多了在某个地方,但那没有用。

有什么想法吗?我不知道是否必须通过电子邮件发送mdb和数据以便有人来解决这个问题。我以前用代码写了PDF - 没问题。这写入PDF,只是丢失了一些
格式化行。

谢谢 -
sara


萨拉忘记了我的代码片刻。手动打开报告并导出

到Snapshot格式。快照中的格式是否正确?


要验证它不是打印机驱动程序问题,请将计算机的默认打印机设置为b $ b,以匹配所需的内容为您的报告(纵向/横向

和纸张尺寸。现在使用我的代码将您的报告输出到PDF。


让我知道。


-


HTH

Stephen Lebans
http://www.lebans.com

访问代码,提示和技巧

请回复只有新闻组才能让所有人受益。

" sara" sa ******* @ yahoo.comwrote in message

news:b4 ** ******************************** @ t54g2000 hsg.googlegroups.com ...


嗨 -


我有一份报告是14个柱状子报告(排队:位置 -
每个b $ b持有人我们的14个地点 - 经理,助理经理,

接收,Offi ce等等。


我直接输出到PDF(使用本站点的ConvertReportToPDF -

Stephan Lebans)


格式 - 某些字段的轮廓 - 不出现在子报表上

12-14(第12 - 14列)。


我尝试删除一些在一些领域周围的盒子,认为

它只是太多了在某个地方,但那不起作用。


任何想法?我不知道是否必须通过电子邮件发送mdb和数据来支付某些人来解决这个问题。我以前用代码写过PDF

- 没问题。这写入PDF,只是丢失了一些

格式化行。


谢谢 -

sara


4月23日,8:40 * am,Stephen Lebans < ForEmailGotoMy.WebSite.-

WWWdotlebansdot ... @ linvalid.comwrote:


Sara暂时忘记了我的代码。手动打开报告并导出

到Snapshot格式。快照中的格式是否正确?


要验证它不是打印机驱动程序问题,请将计算机的默认打印机设置为b $ b,以匹配所需的内容为您的报告(纵向/横向

和纸张尺寸。现在使用我的代码将您的报告输出到PDF。


让我知道。


-


HTH

Stephen Lebanshttp://www.lebans.com

访问代码,提示和技巧

请只回复新闻组,以便每个人都能受益。


" sara"< saraqp ... @ yahoo.comwrote在消息中


新闻:b4 ********************************* * @t54g2000 hsg.googlegroups.com ...


嗨 -


I有一份报告是14个柱状子报告(排队:位置 -

持有人在我们的14个地点 - 经理,助理经理,

接收,办公室等)。


我直接输出到PDF(使用来自本网站的ConvertReportToPDF -

Stephan Lebans)


格式 - 某些字段的轮廓 - 不出现在子报表上

12-14(第12 - 14列)。


我尝试删除某些字段周围的一些框,认为

只是太多了在某个地方,但那是行不通的。


有什么想法吗? *我不知道是否必须通过电子邮件发送mdb和数据来获取某些人来解决这个问题。 *我之前用代码写过PDF

- 没问题。 *这写入PDF,只是丢失了一些

格式化行。


谢谢 -

sara-隐藏引用的文字 -



- 显示引用文字 -



我不认为这是代码 - 我在几个地方使用此代码并且

从未出现过问题。但这是第一次发生




它以快照格式打印 - 一切都很完美。我应该昨天张贴

- 抱歉。


我在我的打印机上设置了我的默认设置(法律和风景是

更改)并打印正常。我打印了一个Outlook日历页面和一个Word文档的

页面 - 没有问题 - 更改了设置。


我返回了设置(字母和肖像) )和线条周围的线路/b $ b b框在最右边的3列上再次消失了。


另外 - 虽然我认为这是一个不同的问题 - (但为了以防万一,

我'我会提到它 - 当用户运行报告时(从她的电脑上打印出来,并且打印机上会打印出
)报告会转到Letter尺寸的纸张 -

landscape。 PDF文件显示2页字母大小。


这有帮助吗?我正在运行MDE(它也发生在MDB中),并且

使用A2K。


非常感谢 -

Sara


Hi -

I have a report that is 14 columnar sub-reports (Line up: Position-
holders in each of our 14 locations - Manager, Assistant Manager,
Receiving, Office, etc).

I output directly to PDF (using ConvertReportToPDF from this site -
Stephan Lebans)

The formatting - Outlines on some fields - do not appear on subreports
12-14 (Columns 12 - 14).

I tried removing some of the boxes around some fields, thinking that
it was just "too much" somewhere, but that didn''t work.
Any ideas? I don''t know if I have to email the mdb and data for
someone to figure this out. I have used the code to write to PDF
before - no problem. And this writes to PDF, just loses some
formatting lines.

thanks -
sara

解决方案

On Tue, 22 Apr 2008 08:09:50 -0700 (PDT), sara <sa*******@yahoo.com>
wrote:

Was it really necessary to create all these subreports, or could you
just as well have used a single report with a Grouping Level by
Position?

-Tom.

>Hi -

I have a report that is 14 columnar sub-reports (Line up: Position-
holders in each of our 14 locations - Manager, Assistant Manager,
Receiving, Office, etc).

I output directly to PDF (using ConvertReportToPDF from this site -
Stephan Lebans)

The formatting - Outlines on some fields - do not appear on subreports
12-14 (Columns 12 - 14).

I tried removing some of the boxes around some fields, thinking that
it was just "too much" somewhere, but that didn''t work.
Any ideas? I don''t know if I have to email the mdb and data for
someone to figure this out. I have used the code to write to PDF
before - no problem. And this writes to PDF, just loses some
formatting lines.

thanks -
sara


Sara forget about my code for a moment. Manually open the report and export
it to Snapshot format. Is the formatting correct in the Snapshot?

To verify it is not a Printer driver issue, setup the Default printer for
your computer to match what is required for your report(Portrait/Landscape
amd Paper Size. Now use my code to putput your Report to PDF.

Let me know.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"sara" <sa*******@yahoo.comwrote in message
news:b4**********************************@t54g2000 hsg.googlegroups.com...

Hi -

I have a report that is 14 columnar sub-reports (Line up: Position-
holders in each of our 14 locations - Manager, Assistant Manager,
Receiving, Office, etc).

I output directly to PDF (using ConvertReportToPDF from this site -
Stephan Lebans)

The formatting - Outlines on some fields - do not appear on subreports
12-14 (Columns 12 - 14).

I tried removing some of the boxes around some fields, thinking that
it was just "too much" somewhere, but that didn''t work.
Any ideas? I don''t know if I have to email the mdb and data for
someone to figure this out. I have used the code to write to PDF
before - no problem. And this writes to PDF, just loses some
formatting lines.

thanks -
sara



On Apr 23, 8:40*am, "Stephen Lebans" <ForEmailGotoMy.WebSite.-
WWWdotlebansdot...@linvalid.comwrote:

Sara forget about my code for a moment. Manually open the report and export
it to Snapshot format. Is the formatting correct in the Snapshot?

To verify it is not a Printer driver issue, setup the Default printer for
your computer to match what is required for your report(Portrait/Landscape
amd Paper Size. Now use my code to putput your Report to PDF.

Let me know.

--

HTH
Stephen Lebanshttp://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.

"sara" <saraqp...@yahoo.comwrote in message

news:b4**********************************@t54g2000 hsg.googlegroups.com...

Hi -

I have a report that is 14 columnar sub-reports (Line up: Position-
holders in each of our 14 locations - Manager, Assistant Manager,
Receiving, Office, etc).

I output directly to PDF (using ConvertReportToPDF from this site -
Stephan Lebans)

The formatting - Outlines on some fields - do not appear on subreports
12-14 (Columns 12 - 14).

I tried removing some of the boxes around some fields, thinking that
it was just "too much" somewhere, but that didn''t work.

Any ideas? *I don''t know if I have to email the mdb and data for
someone to figure this out. *I have used the code to write to PDF
before - no problem. *And this writes to PDF, just loses some
formatting lines.

thanks -
sara- Hide quoted text -


- Show quoted text -

I don''t think it''s the code - I use this code in several places and
have Never had a problem. But this is the first time this has
happened.

It does print in Snapshot format - all perfectly. I should have
posted that yesterday - sorry.

I set my default settings on my printer (Legal and Landscape were the
changes) and it prints fine. I printed an Outlook calendar page and a
page of a Word document - no problem - with the changed settings.

I returned the settings (Letter and Portrait) and the "lines around
the boxes" on the 3 columns on the far right disappeared again.

Also - though I think this is a different problem - (But just in case,
I''ll mention it) - when the user ran the report (from her PC, and
would print on her printer) the report went to Letter size paper -
landscape. The PDF file shows 2 pages letter-sized.

Does this help? I am running an MDE (it happens in the MDB also), and
using A2K.

Thanks so very much -
Sara


这篇关于在代码中输出为PDF时,报表格式在某些项目上消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆