designaire
asked on
Maximum character number in OleDbType.LongVarChar
Hi, I'm hoping I can use the program I just wrote to add more than 200 characters in an access database. It says you can use up to 6,000 which would be more than enough. Right now I can only get about 200. I read a article that using the below code should work, but it's not working. I have the access database field set to memo.
cmd.Parameters.Add("@description", OleDbType.LongVarChar, txtDescription.Text.Length, txtDescription.Text)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I found my error. I had one imput going to 2 fields. One of which was a text fiield and not a memo field.
ASKER
Open in new window