Sady Home

Note my coding life

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
When we create a part (such as list) instance, we can custom columns.
But sometime we need to add a special calculated columns. The column types Lookup, Calculated and Business data would be more useful and strong.
 
Calculated (calculation based on other columns):
For example, I want to create a project - Training Arrangement. There are the six columns, No., Title, Course, Trainer, Location and Planed Time. The column No. need formatting such as TR070200001 ("TR"+Year+Month+ID), Then we use the formula: ="TR"&TEXT(Created,"yymm")&REPT("0",5-LEN(INT(ID)))&ID. Great!
(Reference: Help --> http://moss/_layouts/help.aspx?key=)
 
Lookup (information already on this site)
Get the list from other content. For example,  create a list about Course first. There are three columns, No., Title and Description. The column Course above project Training Arrangement will come from the list of No. of Course.
 
Business data...I'm learning it.
posted on 2007-10-31 18:43  Sady  阅读(226)  评论(0)    收藏  举报
凭飞堂