Avatar of Mark LaGrange
Mark LaGrange
 asked on

HTML strings are getting corrupted at the ends.

VBA routine, that formats a string of HTML, that has been working for years, suddenly started throwing strange ASCII codes at the end of strings in apparently random records.

The 1st attached pic is a screen shot of the output, all ok until the last row.
The 2nd attached pic is a screen shot of the output, just the errors in the first 120 of 211 records.

Doesn't seem to relate to the length of the string it's stringing together ("EntityNamesDisp"), but it does seem to happen at the ends of the strings.

Sorry to post such a vague, bizarre question, but it's a vague, bizarre problem. I'm just hoping this just jumps out at somebody that has seen this before.

Thanks
 
(This is Access 2003. )
Strange-ASCII-2.jpg
Strange-ASCII-3.jpg
Microsoft AccessVBA

Avatar of undefined
Last Comment
Jeffrey Coachman

8/22/2022 - Mon
SOLUTION
bfuchs

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
Jeffrey Coachman

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Mark LaGrange

ASKER
I tried several things to figure out what was causing this; always the same element on the same records (the plan consultant e-mail address), but that same element concatenated fine on other records. I'll return to this later, maybe; too much end-of-year production work going on right now.

Thanks for your responses. Sorry it took so long to close the question.
Jeffrey Coachman

OK, great
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck