记得前几天有人要在视图中显示richtext的内容,找到一种方法了
First thing to do is to create a Computed field, of type Text, and call it something like "Abstract". The formula for this will be somthing like :
@If(@IsAvailable(name_of_the_rt_field); @Abstract( [Abbrev]; 200; ""; "name_of_the_rt_field");"" ) *
This example will take the first two hundred characters of the named rich text field and abbreviate its content. This can then be displayed in views as a kind of intro to the document. Cool hey !?
-------------
转贴来的
http://www.codestore.net/store.nsf/unid/DFOU-4PRG73?OpenDocument