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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|