PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 2024 → Suppress Spaces in Report Format
Suppress Spaces in Report Format
Started by mabeaven, Jul., 02 2003 1:38 AM - 2 replies
Posted on July, 02 2003 - 1:38 AM
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
Posted on July, 02 2003 - 1:47 AM
>>ie. Miami FL instead of Miami FL.
Sorry, should read Miami(SPACE) FL
Posted on July, 02 2003 - 5:43 AM
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