> Okay... all i want to do is use opal to set a filter on a category field.
> normally i right click on the field and type in the filter (its a
> i was hoping someone could tell me how to use a button to set the field
> filter automatically. its a paint data base and the category is color
> (field name is color), and i would like to filter to view only those in
> the "Blue"
> category. Thank youThis may not be 100%, but its a start.
*You have a tableframe on the form, with global scope, lets call it
*Create a button on the form. Using the object Explorer, edit the
method pushButton(var eventInfo Event)
criteria dynArray AnyType
I'm not certain you can apply a filter directly to a tableframe (I think
so...) but I know you can apply a filter to a TCursor or Table. If you
apply a filter to a report note that the report must be put into design
mode and then run for the filter to take effect.