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  

data appears in Layout View but not in Print Preview?



 
 
Thread Tools Display Modes
  #1  
Old August 21st, 2009, 04:39 PM posted to microsoft.public.access.reports
klr
external usenet poster
 
Posts: 8
Default data appears in Layout View but not in Print Preview?

I have a report with 4 subreports. Each subreport is linked by the ClientID.
When there is no data in one of the subreports it is left blank. I have an
unbound control with the following control source: =IIf([HasData]=0,"No
Investors","") in the Client ID Header of the subreport.

The message prints in the correct subreport on the Main report, but only in
Layout View, not in Print Preview and/or when I print. How can I correct
this?

Thank you.
  #2  
Old August 24th, 2009, 01:52 AM posted to microsoft.public.access.reports
June7 via AccessMonster.com
external usenet poster
 
Posts: 173
Default data appears in Layout View but not in Print Preview?

The reference to HasData in the control (textbox?) may be treated as a field
name (although think you would get parameter prompt). Try prefixing it with
the form name and even then may not be able to access that form property from
a control and instead must be in code. I have tried to access form OpenArgs
property from a control and couldn't. Had to use a function to extract it and
the function was called in textbox.
Check out this MS link:
http://msdn.microsoft.com/en-us/libr...ffice.11).aspx

KLR wrote:
I have a report with 4 subreports. Each subreport is linked by the ClientID.
When there is no data in one of the subreports it is left blank. I have an
unbound control with the following control source: =IIf([HasData]=0,"No
Investors","") in the Client ID Header of the subreport.

The message prints in the correct subreport on the Main report, but only in
Layout View, not in Print Preview and/or when I print. How can I correct
this?

Thank you.


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ports/200908/1

 




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


All times are GMT +1. The time now is 12:37 AM.


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