Hi,
I’m trying to make a dynamic view and dynamic columns but i’m facing a problem in getting the dynamic column value, could anybody help me in achieving what i’m trying to get, here is the code:
formula = {SELECT (Form="fmTASS" & ((ServiceArea1_1="} & AreaCtgry & {" ) | (ServiceArea1_2="} & AreaCtgry & {" ) | (ServiceArea1_3="} & AreaCtgry & {" ) |
(ServiceArea1_4=“} & AreaCtgry & {” ) | (ServiceArea1_5=“} & AreaCtgry & {” ) | (ServiceArea1_6=“} & AreaCtgry & {” )
) )}
Dim vc As NotesViewColumn
Set Vw = Db.GetView("vwTAProductSelection")
Vw.SelectionFormula = formula
Set vc = Vw.Columns(0)
vc.Formula=AreaCtgry '// I need the value of this variable not AreaCtgry.
Call uiws.ViewRebuild
Based on this value i have other colums that are to be generated also, how could i get the handle of first columns value for other columns generation…pls help.
Thanks & Regards
Vijay Baswal