有時候我們需要在使用WAD時,將當前的一些基本信息顯示出來,這時候會用到Text Elements這個控件,但是讓我們比較苦惱的是控件提供的值太多,我們要的太少,那么如何控制顯示的值列表呢?
屬性->Web Item -> Specific ->List of Text Elements 就可以設置要顯示的值列表了。
這裡需要設置Type和Name,type有四種
General Text Symbol ,Filter Value, Variable Vaule,Variable Value as key
我們一般是用General Text Symbol,這裡比較麻煩的就是要清楚的知道顯示的值和系統內的代碼的對應關係。
· general text elements:
- technical name of the query (REPTNAME)
- description of the query (REPTXTLG)
- InfoProvider (INFOCUBE)
- key date for the query (SRDATE)
- validity of the data (date and time) (ROLLUPTIME)
- the person who wrote the query (AUTHOR)
- the last time the query was changed (date and time) (MODTIME)
- the last person to make changes to the query (MODUSER)
- current user (SYUSER)
- the last time the query was refreshed (date and time) (SYUZEIT)
使用以上的代碼,可以實現輸出內容的定制了。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/16354317/viewspace-1813641/ ,如需转载,请注明出处,否则将追究法律责任。