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

Keeping leading spaces in field

Status
Not open for further replies.

TheBirdman

Programmer
Jun 8, 2005
1
0
0
US
I have a field that is coming in with a leading space that I need to keep, but when my map in ECMap writes it out to my database, the field is gone. I added a step to write the field out to a memory variable and then put it out to the log before putting it in the database, and there is no space. So, for some reason, it is loosing the leading space. Anybody know what I can do to keep the space?
 
Contact the vendor of ECMap's support group.



BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
In the map, have you tried setting the justification? Are you mapping alpha-numeric to alpha-numeric?
 
One other suggestion, would be to pad the inbound mapped
data with a special character, then strip the character
in your application, or leave it alone; and stip the
character in an outbound map. Just a suggestion!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top