>I get an error saying the variable condition is not found when I try to browse the table that the filter is set to.
>What is wrong with this code?
>
>
>procedure filter_set
>
> lparameters t_f,tblname,condition
>
> select (tblname)
> tblFilter = iif(t_f,'set filter to &tblname..stu_ads_id = condition','set filter to')
> &tblFilter
>
>return
try:
tblFilter = iif(t_f,'&tblname..stu_ads_id = condition','')
set filter to &tblFilter
Mark McCasland
Midlothian, TX USA