Hi,
Correct me if I understand you wrong.
So you would like to show only first 32 characters of the record in the database?
-> SQL (when you quering the database).
The syntax is :-
SUBSTRING(expression, start, length)
For example:
select substring(columnName, 1, 32) as myColumnName from tableName
This will then return the result with 32 characters.
-- or --
-> ASP
myResult = MID(recordset("columnName"), 1, 32)
The record result will be assigned to the variable myResult.
Hope this solve your query.
Quote:
Originally posted by bluejean
Hello there
I am using DWMX - and I was wondering if it would be big problem to truncate text from the database. Like displaying like only 32 first letters from the record.
regards
Jean Blahamar
|