:: Forum >>

memo type in a table

hello,
I want to display in a textarea a text with more than 255 characters which is extracted from access database.
I put in a table the SELECT query results, one of this query-items-result is a memo type from access. In that result table only are 255 characters not all the characters and in the textarea only are displayed this 255 characters.
To create textarea I use this:
AW.UI.TextAreaInput = AW.System.Control.subclass();
AW.UI.TextAreaInput.create = function() {
var obj = this.prototype;
obj.setTag("textarea");
obj.setClass("text", "expand");
obj.setClass("item", "control");
obj.setClass("ui", "imagetext");
obj.setClass("templates", "");
obj.setClass("input", "box");
}
var textarea= new AW.UI.TextAreaInput;
textarea.setId("textarea");
document.write(textarea);

And to put content in the textarea I use:
textarea.element().value = tabla.getData(columna,indice);

To fill the table I use:
function CrearTabla(tabla,consulta,conexion,nomtabla,Async){
tabla.setURL("webservice.asmx/construyeDataSetGenerico");
tabla.setParameter("Consulta", consulta);
tabla.setParameter("Conexion", conexion);
tabla.setParameter("NomTabla", nomtabla);
tabla.setRequestMethod("POST");
tabla.setRows("//NewDataSet/*"); // data rows XPath
if (Async){
tabla.setAsync(false);
}
tabla.request();
}

One item in the database-table is a long string text (type memo) with more 255 characters, how can I extract this item?
TECNORA
Friday, April 25, 2008
Thats strange. Can you check if your XML (webservice output) contains complete field data or only 255 chars?
Alex (ActiveWidgets)
Monday, April 28, 2008
I think that my problem is in other place, because the sql query only returns 255 chars. I´m going to inventigate this.
TECNORA
Monday, April 28, 2008

This topic is archived.


Back to support forum

Forum search