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

csv file breaking after numeric characters and special characters

Status
Not open for further replies.

airwolf09

Technical User
Dec 7, 2012
24
US
The plan

1 Access Database creates a csv file
2 Data is read by Reflections 2011 VBA code
3 Data is passed to the mainframe via Reflections 2011 VBA

The problem

1 Access Database creates the csv file (NO PROBLEM)
2 Data is read by Reflections 2011 VBA code (PROBLEM)

A) If leading numeric number, anything on the string following the digits would no be on the output. All information is passed via variables​
Example: Input via csv file "3rd Floor". The output would be "3"​
Example 2: Input via csv file "The 3rd Floor". The output would be "The 3"​

B) If special characters, anything on the string following the character would no be on the output. All information is passed via variables​
Example: Input via csv file "The_Floor". The output would be "The"​
Example 2: Input via csv file "The_Upper_3rd_Floor". The output would be "The"​

3 Data is passed to the mainframe via Reflections 2011 VBA (NO PROBLEM)

Questions

1 Why is numeric and special characters breaking up the string?
2 Is there a way to avoid the break up?
3 Any alternatives?

Thank You
 
You have posted in TWO forums. Please proceed in the Attachmate forum only, thread1-1760192.

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top