有什么方法可以从视图列标题中获取值?
我有一个视图,我必须仅在表格中显示与选定列标题相关的选定列值。
var colNames = new Array(); var Title=sessionScope.dbTitle;
var vwName = sessionScope.vwTitle;
print ("view name"+ vwName);
if ((vwName != null) & (vwName != "Select")) { //var vwName="vwDbConfig";
print (vwName);
var dbpath=@DbLookup("","vwDbConfig",Title,3);
var serName=@DbLookup("","vwDbConfig",Title,2);
var ArchDb:NotesDatabase = session.getDatabase(serName,dbpath);
//var ArchDb:NotesDatabase= database;
var Archvw:NotesView = ArchDb.getView(vwName);
var names:java.util.Vector = Archvw.getColumnNames();