I have a SQL Server database/Access project configuration. I have a field in SQL Server set up as a varchar(2000) ... it's a comment field and people need to write a lot.
I have the user type their text into an unbound text box field on a form which I then use to build an insert query in a module (..comment = screen.activeform.txtcomment). The problem is that if the user types in more than about 50 characters, they get an error stating that the values will be truncated.
I can find no documentation about built-in constraints on unbound fields (or how to work around this problem).
Any ideas would be greatly appreciated.
Thanks!
Birgit
I have the user type their text into an unbound text box field on a form which I then use to build an insert query in a module (..comment = screen.activeform.txtcomment). The problem is that if the user types in more than about 50 characters, they get an error stating that the values will be truncated.
I can find no documentation about built-in constraints on unbound fields (or how to work around this problem).
Any ideas would be greatly appreciated.
Thanks!
Birgit