3.0.5

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
April 25,
Thats strange. Can you check if your XML (webservice output) contains complete field data or only 255 chars?
Alex (ActiveWidgets)
April 28,
I think that my problem is in other place, because the sql query only returns 255 chars. I´m going to inventigate this.
TECNORA
April 28,

This topic is archived.

See also:


Back to support forum