<%a5
'compute the where string for this grid (heavily dynamic where clause with dynamic # of conditions)
dim wherestring as C=""
if condition1==true then
wherestring=wherestring+"omit_list_online=0"
end if
dim componentAlias as c
componentAlias = "mygrid"
Delete tmpl_mygrid
DIM tmpl_mygridas P
tmpl_mygrid = a5w_load_component("grid102931023")
tmpl_mygrid.base_filter=wherestring
%>
This will save somebody HOURS of work.
I have done this b efore - but the documentation for this is deeply hidden (I couldnt even find it again).
GOodluck :/
Bookmarks