|
| |
|
|
patricksims
Posts: 37 Joined: 7/7/2005 Status: offline
|
ASP Update max 1248 characters memo field - 3/24/2008 15:58:15
I have an ASP page that runs an update query, however the maximum number of characters I am able to update in a memo field in an Access database table is exactly 1248 (including spaces and commas) 1097 (non space characters including commas). If I have 1249/1098 characters I get an error telling me IE (7) cannot display the page (the asp page executing the update query). The same thing happens if I just write out the query instead of actually executing it on the asp update page. It should be noted that I can insert the data directly into the memo field in the database table. Also, when querying the record and populating a form in an edit page, it pulls all of the characters and displays them in the form field. The problem only occurs when I use an ASP page to run an update query (again, update works fine as long as I have 1248/1097 characters or less). Any help, suggestions would be appreciated.
< Message edited by patricksims -- 3/24/2008 16:12:56 >
|
|
|
|
patricksims
Posts: 37 Joined: 7/7/2005 Status: offline
|
RE: ASP Update page error 1097 characters in memo field... - 3/24/2008 16:19:01
quote:
ORIGINAL: Spooky How are you inserting the data and with what type of connection? Connection: Set conntemp=Server.CreateObject("ADODB.Connection") conntemp.Provider="Microsoft.Jet.OLEDB.4.0" conntemp.Mode=3 Running update query: MyQuery="update [table] set [field]='value' where ([ID]="&ID&")" conntemp.execute(MyQuery) field is a memo field with single quotes surrounding data string and ID is a number field primary key indexed with no duplicates thus no surrounding quotes. Thank you!
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|