Hi,
Not sure if this is the right forum so appologies upfront.
I have a series of asp pages that are a front end for an incidents diary which is a SQL7 database.
I can create new instances no problem and my updating works up to a point.
Each incident has the following fields.
IncidentTitle
IncidentDate
RaisedBy
System
Subsytem
Status
Updates
Resolution
DateClosed
Whenever an update is made the asp page will...
1. Do a SQL Select and store the current value for Updates in a string
2. Create an audit string comprising of Now() & CurrentUser and <BR>
3. Take the value of the NewUpdate Input textarea and cocactanate it with the audit string
4. Add this concactanated string to the end of the string storing the previous updates + a <HR>
5. Do a SQL Update to set the Updates field with the new string containing the previous updates + Audit string + New Update.
As I said this works fine up to a point and then fails. It seems that once I have an incident where the updates contain a chunck of updates. Its as if there is a limit to the legnth of the string...
The database has the field set to ntext.
Any help apreciated.
Not sure if this is the right forum so appologies upfront.
I have a series of asp pages that are a front end for an incidents diary which is a SQL7 database.
I can create new instances no problem and my updating works up to a point.
Each incident has the following fields.
IncidentTitle
IncidentDate
RaisedBy
System
Subsytem
Status
Updates
Resolution
DateClosed
Whenever an update is made the asp page will...
1. Do a SQL Select and store the current value for Updates in a string
2. Create an audit string comprising of Now() & CurrentUser and <BR>
3. Take the value of the NewUpdate Input textarea and cocactanate it with the audit string
4. Add this concactanated string to the end of the string storing the previous updates + a <HR>
5. Do a SQL Update to set the Updates field with the new string containing the previous updates + Audit string + New Update.
As I said this works fine up to a point and then fails. It seems that once I have an incident where the updates contain a chunck of updates. Its as if there is a limit to the legnth of the string...
The database has the field set to ntext.
Any help apreciated.