mrweatherbee
Programmer
Hi guys,
I've been having some trouble with one of my reports. Basically, this report has a large number of fields, and what I want to to do is make them disappear if they are null (and have everything else move up). Many of these
fields are only one line long, so using the "Can Shrink" property won't really help...I still find myself with a large amount of white space in records that don't have all the info filled out.
I first tried to set the visibility of the fields to false if a field was blank, but that only eliminated the box and label...and didn't allow the other info to move up on the page. Right now, I had the report set the height of the records equal to 0 if the field is blank (in the detail format section), which works for the most part with one exception: checkboxes! I try and say that if the checkbox equals false then, set the height of the box = to 0, but it doesn't work, and the blank box just sits there, and the rest of the fields below can't move up, still leaving all that white space. Another problem I have is that when I have more than one records, all the fields show up as blank, whether or not they have data in it?
So I guess I'm asking 1) how do I get the checkboxes to disappear, and 2) where should I put this event procedure so that it applies to every record...the detail format just
doesn't seem to be working. Hopefully all that makes sense...Thanks a lot guys.
I've been having some trouble with one of my reports. Basically, this report has a large number of fields, and what I want to to do is make them disappear if they are null (and have everything else move up). Many of these
fields are only one line long, so using the "Can Shrink" property won't really help...I still find myself with a large amount of white space in records that don't have all the info filled out.
I first tried to set the visibility of the fields to false if a field was blank, but that only eliminated the box and label...and didn't allow the other info to move up on the page. Right now, I had the report set the height of the records equal to 0 if the field is blank (in the detail format section), which works for the most part with one exception: checkboxes! I try and say that if the checkbox equals false then, set the height of the box = to 0, but it doesn't work, and the blank box just sits there, and the rest of the fields below can't move up, still leaving all that white space. Another problem I have is that when I have more than one records, all the fields show up as blank, whether or not they have data in it?
So I guess I'm asking 1) how do I get the checkboxes to disappear, and 2) where should I put this event procedure so that it applies to every record...the detail format just
doesn't seem to be working. Hopefully all that makes sense...Thanks a lot guys.