dbTalk Databases Forums  

Report object "visable or not visable. That is the question"

comp.databases.ms-access comp.databases.ms-access


Discuss Report object "visable or not visable. That is the question" in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Michael
 
Posts: n/a

Default Report object "visable or not visable. That is the question" - 11-30-2004 , 04:41 PM






Hello experts! I hope to tap your vast knowledge of unbound wisdom.
Please help this humble squire in his search for knowledge.

Product: MS Access 2003

I have a report that basically lists the contents of a dB into
somewhat a readable format. What I'm trying to do though is not
display a field for any record where said field is blank.

ie. record1 has zip field blank, thus on report, record1 doesn't
display the zip. record2 has zip field, thus it shows the field.

Now, when I mean I don't want to display the field, I mean nothing.
Not the 'empty field', but nothing at all. I'm thinking along the
line of something like this (forgive, the last time I punched code,
Cobol was king):

If zip = null
then don't display
else
display

or something like that, but obviously in VB (which I'm in class for
now, just started. thanks for asking).

any help you can give (or point to an on-line resource) would be
greatly appreciated.

I humble in your presesnce.

-thx.

Reply With Quote
  #2  
Old   
Dave M
 
Posts: n/a

Default Re: Report object "visable or not visable. That is the question" - 11-30-2004 , 07:17 PM






You should be able to do this in the appropriate section's Format event
procedure:

[MyField].Visible = Not IsNull([MyField])

"Michael" <nondisclosure007 (AT) hotmail (DOT) com> wrote

Quote:
Hello experts! I hope to tap your vast knowledge of unbound wisdom.
Please help this humble squire in his search for knowledge.

Product: MS Access 2003

I have a report that basically lists the contents of a dB into
somewhat a readable format. What I'm trying to do though is not
display a field for any record where said field is blank.

ie. record1 has zip field blank, thus on report, record1 doesn't
display the zip. record2 has zip field, thus it shows the field.

Now, when I mean I don't want to display the field, I mean nothing.
Not the 'empty field', but nothing at all. I'm thinking along the
line of something like this (forgive, the last time I punched code,
Cobol was king):

If zip = null
then don't display
else
display

or something like that, but obviously in VB (which I'm in class for
now, just started. thanks for asking).

any help you can give (or point to an on-line resource) would be
greatly appreciated.

I humble in your presesnce.

-thx.



Reply With Quote
  #3  
Old   
Michael
 
Posts: n/a

Default Re: Report object "visable or not visable. That is the question" - 12-01-2004 , 12:56 PM



Dave,

Thanks for the response. This will work in a Form, I'm assuming. But
in a Report, I don't get the option. I'm in the "Bound Object
Frame:<element name>" dialog box and on the Event tab there is
nothing.

Or am I missing something (probably the case).

"Dave M" formatted the electrons to read like this:
Quote:
You should be able to do this in the appropriate section's Format event
procedure:

[MyField].Visible = Not IsNull([MyField])

"Michael" <nondisclosure007 (AT) hotmail (DOT) com> wrote in message
news:51532fd4.0411301441.976b08e (AT) posting (DOT) google.com...
Hello experts! I hope to tap your vast knowledge of unbound wisdom.
Please help this humble squire in his search for knowledge.

Product: MS Access 2003

I have a report that basically lists the contents of a dB into
somewhat a readable format. What I'm trying to do though is not
display a field for any record where said field is blank.

ie. record1 has zip field blank, thus on report, record1 doesn't
display the zip. record2 has zip field, thus it shows the field.

Now, when I mean I don't want to display the field, I mean nothing.
Not the 'empty field', but nothing at all. I'm thinking along the
line of something like this (forgive, the last time I punched code,
Cobol was king):

If zip = null
then don't display
else
display

or something like that, but obviously in VB (which I'm in class for
now, just started. thanks for asking).

any help you can give (or point to an on-line resource) would be
greatly appreciated.

I humble in your presesnce.

-thx.

Reply With Quote
  #4  
Old   
Michael
 
Posts: n/a

Default Re: Report object "visable or not visable. That is the question" - 12-01-2004 , 01:08 PM



Dave,

Sorry, you were talking about, I think, the "Sectionetail" area. If
so, I think I see where you mean. I'll try that and let you know.

"Dave M" dispatched his wisdom upon my empty noodle with the following
words of wisdom:
Quote:
You should be able to do this in the appropriate section's Format event
procedure:

[MyField].Visible = Not IsNull([MyField])

"Michael" <nondisclosure007 (AT) hotmail (DOT) com> wrote in message
news:51532fd4.0411301441.976b08e (AT) posting (DOT) google.com...
Hello experts! I hope to tap your vast knowledge of unbound wisdom.
Please help this humble squire in his search for knowledge.

Product: MS Access 2003

I have a report that basically lists the contents of a dB into
somewhat a readable format. What I'm trying to do though is not
display a field for any record where said field is blank.

ie. record1 has zip field blank, thus on report, record1 doesn't
display the zip. record2 has zip field, thus it shows the field.

Now, when I mean I don't want to display the field, I mean nothing.
Not the 'empty field', but nothing at all. I'm thinking along the
line of something like this (forgive, the last time I punched code,
Cobol was king):

If zip = null
then don't display
else
display

or something like that, but obviously in VB (which I'm in class for
now, just started. thanks for asking).

any help you can give (or point to an on-line resource) would be
greatly appreciated.

I humble in your presesnce.

-thx.

Reply With Quote
Reply




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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.