A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

conditional formatting and Runtime



 
 
Thread Tools Display Modes
  #1  
Old August 12th, 2005, 07:48 PM
smcgart
external usenet poster
 
Posts: n/a
Default conditional formatting and Runtime

I have created an application that includes a report with conditional
formatting. There are three options, one is a normal font, one is a
highlighted font, and one is a bold font. The text box is set to "Can grow",
and the report prints fine when printed to through Access. However, when the
report is printed through the Runtime application, the text box will not wrap
to the next line if the option is in bold, if I change the option to plain
text it will wrap in the Runtime application. Any suggestions?

  #2  
Old August 13th, 2005, 06:09 AM
Allen Browne
external usenet poster
 
Posts: n/a
Default

There are several factors that can affect how a report is formatted. The
issue suggests there is some problem in calculating the font metrics for the
report. Since the runtime is actually the same executable as the full
msaccess, it is unlikely that it could cause the discrepency, so we need to
look at the other factors.

Firstly, start your database with using a shortcut that uses the /runtime
switch, e.g.:
"C:\Program Files\Microsoft Office\Office\msaccess.exe"
"C:\MyPath\MyFile.mdb" /runtime
If you can demonstrate the problem under these conditions, it is indeed a
runtime issue.

If not, then the problem is not a runtime issue. It could be:
a) A printer driver issue.
Quite common. Try a completely different kind of printer. If the problem
disappears, your client needs to get an updated driver.

b) A font with bad metrics.
See if the problem disappears with Arial or Times New Roman.

c) A service pack issue.
There are service packs for the runtime. This is less likely than the other
two, but it's always worth installing the packs anyway.

HTH.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"smcgart" wrote in message
...
I have created an application that includes a report with conditional
formatting. There are three options, one is a normal font, one is a
highlighted font, and one is a bold font. The text box is set to "Can
grow",
and the report prints fine when printed to through Access. However, when
the
report is printed through the Runtime application, the text box will not
wrap
to the next line if the option is in bold, if I change the option to plain
text it will wrap in the Runtime application. Any suggestions?



  #3  
Old August 13th, 2005, 04:18 PM
smcgart
external usenet poster
 
Posts: n/a
Default

Sorry, guess I should have mentioned that, yes I can duplicate the problem
using the runtime switch.

"Allen Browne" wrote:

There are several factors that can affect how a report is formatted. The
issue suggests there is some problem in calculating the font metrics for the
report. Since the runtime is actually the same executable as the full
msaccess, it is unlikely that it could cause the discrepency, so we need to
look at the other factors.

Firstly, start your database with using a shortcut that uses the /runtime
switch, e.g.:
"C:\Program Files\Microsoft Office\Office\msaccess.exe"
"C:\MyPath\MyFile.mdb" /runtime
If you can demonstrate the problem under these conditions, it is indeed a
runtime issue.

If not, then the problem is not a runtime issue. It could be:
a) A printer driver issue.
Quite common. Try a completely different kind of printer. If the problem
disappears, your client needs to get an updated driver.

b) A font with bad metrics.
See if the problem disappears with Arial or Times New Roman.

c) A service pack issue.
There are service packs for the runtime. This is less likely than the other
two, but it's always worth installing the packs anyway.

HTH.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"smcgart" wrote in message
...
I have created an application that includes a report with conditional
formatting. There are three options, one is a normal font, one is a
highlighted font, and one is a bold font. The text box is set to "Can
grow",
and the report prints fine when printed to through Access. However, when
the
report is printed through the Runtime application, the text box will not
wrap
to the next line if the option is in bold, if I change the option to plain
text it will wrap in the Runtime application. Any suggestions?




  #4  
Old August 13th, 2005, 05:27 PM
Allen Browne
external usenet poster
 
Posts: n/a
Default

Hopefully someone else can contribute: I have not seen this particular
problem.

Presumably you are talking about the conditional formatting built in to
A2000 and later. Is there also code in the report's events that could be
affecting the format?

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"smcgart" wrote in message
...
Sorry, guess I should have mentioned that, yes I can duplicate the problem
using the runtime switch.

"Allen Browne" wrote:

There are several factors that can affect how a report is formatted. The
issue suggests there is some problem in calculating the font metrics for
the
report. Since the runtime is actually the same executable as the full
msaccess, it is unlikely that it could cause the discrepency, so we need
to
look at the other factors.

Firstly, start your database with using a shortcut that uses the /runtime
switch, e.g.:
"C:\Program Files\Microsoft Office\Office\msaccess.exe"
"C:\MyPath\MyFile.mdb" /runtime
If you can demonstrate the problem under these conditions, it is indeed a
runtime issue.

If not, then the problem is not a runtime issue. It could be:
a) A printer driver issue.
Quite common. Try a completely different kind of printer. If the problem
disappears, your client needs to get an updated driver.

b) A font with bad metrics.
See if the problem disappears with Arial or Times New Roman.

c) A service pack issue.
There are service packs for the runtime. This is less likely than the
other
two, but it's always worth installing the packs anyway.

HTH.

"smcgart" wrote in message
...
I have created an application that includes a report with conditional
formatting. There are three options, one is a normal font, one is a
highlighted font, and one is a bold font. The text box is set to "Can
grow",
and the report prints fine when printed to through Access. However,
when
the
report is printed through the Runtime application, the text box will
not
wrap
to the next line if the option is in bold, if I change the option to
plain
text it will wrap in the Runtime application. Any suggestions?



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Resize Textbox Controls At Runtime! Stew Hayles Setting Up & Running Reports 2 October 15th, 2004 03:39 PM
PivotChart formatting: macro for multiple unique charts Jocelyn Charts and Charting 2 January 20th, 2004 05:12 PM


All times are GMT +1. The time now is 02:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.