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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text box with trailing spaces 1

Status
Not open for further replies.
Oct 24, 2002
512
US
I've posted this in other threads 'cause I'm desperate to get this project finished. Please ignore and accept my apologies if you've already seen this.

I've almost got the 401(k) export finished. Thanks to all who have helped me this past week. One last plea for help (keyword search is still down).

I don't know how to put trailing spaces after data in a text field. For example, a text field must be exported with a length of 30 but the address data in that field is frequently less than 30 characters. I need to add spaces to the end of the address to fill up the field. Ann
 
Hi!

YourText=YourText & space(30-len(YourText))

pls. let me know if its correct!
CUOK
 
cuok, thanks a million! I was trying to figure out how to get chr(32) to repeat until the end of the line. duh!
Have a star and my gratitude. Ann
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top