Start here
http://msdn.microsoft.com/en-us/library/ms965279.aspxhttp://msdn.microsoft.com/en-us/library/ms965281.aspx>Please bear with me on this. I know it's basic stuff but it's the first time I've tried it.
>
>I have a table with (for example) the city, county, and population of every city in California. I want to print a report sorted by population within county. If the city population is greater than 100,000 I want all the information to be bold.
>
>In VFP 8 Report Writer I would create two field controls for each of the fields I need to show. The Print When property would be set to
population >= 100000 for one set of fields and
population < 100000 for the other set of fields. The corresponding field objects would overlay each other and the report would print the way I want.
>
>If I'm understanding it properly, I can create Optional Detail Bands and put one set of controls in one band and the other set of controls in the other band. Essentially the same thing except visually better since I don't have to deal with "invisible" fields.
>
>Is there something within the report writer itself (not within a listener object - I'm taking baby steps) that can control the Print When of the entire band? I tried looking at the On Entry expression for the band, but couldn't figure out how to make it work.
>
>Thanks to all..............Rich
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer