Hi,
Having trouble with this one.
SQL 2000 and the field datatype is nvarchar set to 300 chars.
Insert Statement:
INSERT INTO tblMyTable (txtField)
VALUES ('#frmTxtField#')
'#frmTxtField#' comes from a textarea form element.
Sometimes I get a "truncate data" error from the database. Sometimes it does the
insert but only the first 30 or so characters.
I feel like I'm missing something obvious.
~Guy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta
http://www.houseoffusion.com/banners/view.cfm?bannerid=40
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182923
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54