7. A computer-readable storage medium encoded with instructions for causing one or more programmable processors to: define one or more macro functions to prompt for user inputs and accept the user inputs during execution of the one or more macro functions; produce a report layout containing one or more macrotized database language expressions, the one or more macrotized database language expressions having at least one of the macro functions; produce one or more valid database language expressions for a database query by at least modifying the one or more macrotized database language expressions of the report layout, wherein the one or more macrotized database language expressions are modified based upon a return value of the at least one of the macro functions, and wherein the return value of the at least one of the macro functions includes at least one of the user inputs accepted during execution of the one or more macro functions; and apply the one or more valid database language expressions to one or more databases to produce the business report, wherein the business report is based on the report layout.
11. The computer-readable storage medium of claim 7 , further encoded with instructions that cause the one or more programmable processors to: generate a string based on the at least one of the user inputs accepted during execution of the one or more macro functions, wherein the one or more macrotized database language expressions are modified based upon the return value of the at least one of the macro functions by at least substituting a partial expression included within the one or more macrotized database language expressions with the generated string to produce the one or more valid database language expressions for the database query.