Programming in Reports w/ Band Expressions on Entry/ExitLast reviewed: April 30, 1996Article ID: Q130505 |
The information in this article applies to:
SUMMARYIn FoxPro version 2.x, programmatic manipulation within a report is accomplished by placing a user-defined function (UDF) within an expression of a field object. The proper execution of the code, in many cases, depends on where the field object resides on the report because report expressions are evaluated from left to right and top to bottom. Visual FoxPro includes "band expressions" that are called On Entry and On Exit. These expressions can be found for each report band. The expressions are evaluated once per band on each page of the report. Band Expressions eliminate the need for careful placement of field objects to control when the code is executed. By double-clicking a report band, you can access the the On Entry and On Exit expressions. This article shows by example how to use band expressions.
MORE INFORMATION
Step-by-Step ExampleThe following example demonstrates what happens when you place code in the On Entry expression:
|
Additional reference words: 3.00 VFoxWin
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |