By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,984 Members | 2,794 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,984 IT Pros & Developers. It's quick & easy.

Move object on report during print process

P: n/a
Hi all, I'm going crazy...

I've report with subreport.
I want simply move some objects on report and subreport according to
fields value. For example I want hide a label when a field is empty.

In *preview* I can hide or move objects on reports's event with VBA. I
can correctly know page number, fields value and I can hide or move
object. All perfect.

The same code, the same events doesn't work when I create PDF file or
when I direct print to printer...

Evidently there are much difference between event generation into print
preview and event generation into "real" print.

Any suggestion???

Thank's
--
Max
www.suonaresuonare.it
Jul 26 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
On Wed, 26 Jul 2006 09:57:21 +0200, Max wrote:
Hi all, I'm going crazy...

I've report with subreport.
I want simply move some objects on report and subreport according to
fields value. For example I want hide a label when a field is empty.

In *preview* I can hide or move objects on reports's event with VBA. I
can correctly know page number, fields value and I can hide or move
object. All perfect.

The same code, the same events doesn't work when I create PDF file or
when I direct print to printer...

Evidently there are much difference between event generation into print
preview and event generation into "real" print.

Any suggestion???

Thank's
No suggestions without actually 'seeing' your code and the event into
which you placed it.

Let us know the event, code and what you are trying to accomplish with
that code, (unless it is absolutely clear from the code, i.e. hiding a
label is not the same as moving it).

It should make no difference whether you print or preview your report
UNLESS you place your code in the report's Activate event. That only
fires when the report is previewed. As far as PDF files are concerned,
I have no experience with those so I can't comment on that part.

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Jul 26 '06 #2

P: n/a
"doesn't work" ????

(david)

"Max " <me@maxetere.itwrote in message
news:ea**********@area.cu.mi.it...
Hi all, I'm going crazy...

I've report with subreport.
I want simply move some objects on report and subreport according to
fields value. For example I want hide a label when a field is empty.

In *preview* I can hide or move objects on reports's event with VBA. I can
correctly know page number, fields value and I can hide or move object.
All perfect.

The same code, the same events doesn't work when I create PDF file or when
I direct print to printer...

Evidently there are much difference between event generation into print
preview and event generation into "real" print.

Any suggestion???

Thank's
--
Max
www.suonaresuonare.it

Jul 27 '06 #3

P: n/a
"david epsom dot com dot au" wrote
"doesn't work" ????
Careful, David... you may lose your credentials as an "Access Psychic" if
you ask for details. <GRIN>

Jul 27 '06 #4

P: n/a
It's a conflict between Office2003 and Office 2007 beta2!!! :(((
This two office version aren't compatible. I think that some damned
beta's library create a problem to report's engine.
Late yesterday I have unistalled office 2007 and all works fine!

Thank you

--
Max
www.suonaresuonare.it
Jul 27 '06 #5

P: n/a
"Max " wrote
It's a conflict between Office2003
and Office 2007 beta2!!! :(((
There's no way that I would load Office 2007 Beta 2 on the same machine with
the copy of Office 2003 that I am using for development / production.

Larry Linson
Microsoft Access MVP
Jul 27 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.