Tuesday, September 23, 2003

Improved Filter Handling in new post 

The post today makes it easier to create really cool drop-down controls for filters. To use it: 1. In the Filter data dictionary item, turn off the link for Item Must Be in table. 2. Enter aarcombo in the Control Class. 3. Enter ffcomboadd in the Adder Subclass. 4. Click on Control Properties and enter the following: .cAlias = "carcolor" && or the name of the table you want to pull from .cField = "color" && of the field name .cFieldDef= "" && Optional field if you want to do something like DISTINCT or PROPER(color), etc .Setup = .T. && This must be the last entry in order for the items to show up. 5. Hit OK and save the data item. Now try using this Data item in an ask at runtime filter. There are some glitches with this but it will be fixed in time for the release.

Comment

This page is powered by Blogger. Isn't yours?