PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Re: Suppress Spaces in Report Format
Re: Suppress Spaces in Report Format
Iniciado por kamarad, 02,jul. 2003 17:10 - No hay respuesta
Publicado el 02,julio 2003 - 17:10
Hello,
I think you might be referring to is Crystal Report, where you can use "suppress" to eliminate a blank line or like
in the present case, to put two variables side by side regardless of their length, while keeping them formatted
properly.
There is no provision for this in WDEtat. The only way to go around your situation is the one described by Bert.
Thanks,
Christian

Bert,
Thank you for the reply. This method will work, but requires the use of a composite field to join the two fields. Does anyone know if there is a way to "suppress" or shrink excess spaces in a report control when all of the control space is not used. ie- compare the two cities Chattanooga and MiamiXXXXXX in a text size 11 control where the X's are spaces. Can the report output "shrink" the spaces to allow the next field to the right to be pulled inward.
Thanks again for the response.
Hi Marc,
In 5.5 and 7.5 using 5.5 hypefile mode: citystate = nospace(city)+" "+nospace(state)

In 7.5 using 7.5 hyperfile mode: citystate=city+" "+state
Bert
Hello All,
In working with report formats, a question has arisen regarding suppression of spaces. For example, if City is followed by State in the report output, I want the State to remain close to the city regardless of the length of city name ie. Miami FL instead of Miami FL. Normally, this is referred to as space suppression with short file items in a control. Is anyone familiar with the method for accomplishing this in the Windev Report Editor?
Regards,
Marc