My Question is: How can I pass Text Strings form Access to SQL server when the string is greater that 128 characters in length?
I have Large string text stored in a MEMO table in MS ACCESS (being used to store large comments (up to but not more than 2000 characters)). I declare an Access variable "Dim myString as String" and set myString = the text from my MEMO field of my Access table.
Using an ODBC connection, I pass the myString variable to a SQL server table via a stored procedure. That procedure receiving the text as a parameter is:
@General_Comments [nvarchar] (Max),
I then Append or Save the value of the parameter of the SQL server table in with a field type of "nvarchar(MAX)".
My procedure works perfectly up to 128 Characters in length. When I go to 129 Characters, the procedure fails.
Help is greatly appreciated! Thanks in advance.
Kody_Devl