Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filter
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Filter
Miscellaneous
Thread ID:
00095992
Message ID:
00095994
Views:
22
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform