![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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. |
#3
| |||
| |||
|
|
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. |
#4
| |||
| |||
|
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
| |