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  

subreport detail visibility



 
 
Thread Tools Display Modes
  #1  
Old August 6th, 2007, 04:01 PM posted to microsoft.public.access.reports
mark kubicki
external usenet poster
 
Posts: 84
Default subreport detail visibility

from code behind a main report, how can i make one of the sections of a sub
report visible or not?


i would have expected something like:

me.srptName.form.detail.visible = "false"

(no?)


thanks,
mark


  #2  
Old August 6th, 2007, 04:21 PM posted to microsoft.public.access.reports
mark kubicki
external usenet poster
 
Posts: 84
Default subreport detail visibility

i will be adding conditions (you're dead on about that)
however, about the VBprompt, i'm not getting one for detail (or page footer,
or report footer...); so, i'm presuming that i'm n the wrong spot (?)


"Michael" wrote in message
...
I think you are on the right track. I believe you would want to build
conditions for when you want it visible and when you want it to not be
visible.

Usually if you type in the right components in code VB will prompt you
after each period for with a list of components you might use for the next
part.

"Mark Kubicki" wrote in message
...
from code behind a main report, how can i make one of the sections of a
sub report visible or not?


i would have expected something like:

me.srptName.form.detail.visible = "false"

(no?)


thanks,
mark





  #3  
Old August 6th, 2007, 05:15 PM posted to microsoft.public.access.reports
Michael[_12_]
external usenet poster
 
Posts: 75
Default subreport detail visibility

I think you are on the right track. I believe you would want to build
conditions for when you want it visible and when you want it to not be
visible.

Usually if you type in the right components in code VB will prompt you after
each period for with a list of components you might use for the next part.

"Mark Kubicki" wrote in message
...
from code behind a main report, how can i make one of the sections of a
sub report visible or not?


i would have expected something like:

me.srptName.form.detail.visible = "false"

(no?)


thanks,
mark



 




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 04:41 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.