Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

eliminatiing extra space

Status
Not open for further replies.

05082000

Technical User
Mar 28, 2002
8
US
I am writting a code for address and it has 2 address filed address1 and address2. sometimes you can put the street name in one field, and when i go to print this address their is an extra space, which i would like to eliminate. how can i write a code so i can eliminate addrs2 filed if their is no information when i print the invoice.

Thank you
 
You might could try something like:

<cfif address2 NEQ &quot;&quot;>
#address2#
</cfif>

I've never been a big fan of using NEQ &quot;&quot;, but hopefully it will be able to do what you need it to.



Hope This Helps!

Ecobb
- I hate computers!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top