If demo 33 doesn't do it for you (it won't work in my application because I have a list of prompts that I have on the screen/report that are not memo related). here is another method (requires Enterprise or design time code, which I have 0 in my app--a great reason to have Enterprise!):
1) Put the field that may/may not print in a region Attach a BeforePrint event to the region that sets the visibity of the region based on the contents of the field. 2) Put the formatting that comes after the conditionaly printed field after the region or sub-report (depending upon your needs). Shift this region/subreport relative to the region above it.
Comments
example of suppressing spaces.
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
have a list of prompts that I have on the screen/report that are not memo
related). here is another method (requires Enterprise or design time code,
which I have 0 in my app--a great reason to have Enterprise!):
1) Put the field that may/may not print in a region Attach a BeforePrint
event to the region that sets the visibity of the region based on the
contents of the field.
2) Put the formatting that comes after the conditionaly printed field after
the region or sub-report (depending upon your needs). Shift this
region/subreport relative to the region above it.
That should work.
Ed Dressel
Team DM