I have a piece of code which builds up a string containing email addresses which is then sent to Outlook to the address line.
This all works fine since in VBA a string has a limit of about 2 billion characters. What is the problem, is that access seems to have a limit of 255 characters when displaying a string. If I put a breakpoint in the code and check the debug window, anything past 255 characters is not displayed in the value. However, if you debug.print the string, the entire string is displayed past 255 characters.
I wouldn't have thought that this would cause a problem since the data is there, you just can't see it, but when I pass the string to outlook, only the limit of 255 characters is passed, yet I know for a fact that the string contains all the data as it shows when you print it in the debug window!
Does anyone know what is causing this and how I could sole it?
Cheers,
Pete
This all works fine since in VBA a string has a limit of about 2 billion characters. What is the problem, is that access seems to have a limit of 255 characters when displaying a string. If I put a breakpoint in the code and check the debug window, anything past 255 characters is not displayed in the value. However, if you debug.print the string, the entire string is displayed past 255 characters.
I wouldn't have thought that this would cause a problem since the data is there, you just can't see it, but when I pass the string to outlook, only the limit of 255 characters is passed, yet I know for a fact that the string contains all the data as it shows when you print it in the debug window!
Does anyone know what is causing this and how I could sole it?
Cheers,
Pete