Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert a blank line or two in each of my groups.
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00588314
Message ID:
00588318
Views:
28
>I have a report that prints records in groups according to the table from which they are queried. I do not use the data environment of the report. I have a stored procedure that prepares a "reportcursor." This procedure is made up of several SQL statements to select the top 10 results from each of the tables I query for this report. I have all fields AND Group Labels "layered" in the detail band of my report. My procedure adds several parameters to each record, enabling me to use "Print When" commands to properly space out each group. This report works nicely.
>
>Each group prints 10 years of test results that my client reports on. They need to have a modified version of this report that prints the most recent 8 or 9 years of data, leaving a blank line where the 10th year would be so their technicians can hand write this year's result.
>
>I would like to use the same report layout and "reportcursor" that I prepare for the original report. I already have a parameter that marks the last record of each group. I figure if I could alter the font color for this one record when they select the "Field Report" as I will call it, from my Report Selection screen, that would allow the report formatting and spacing to print out as normal, with the exception of the last record being printed in white, or should I say blank. Is there a way to alter report formatting items on the fly such as font color according to some global variable?
>
>Am I thinking correctly on this? Or should I be trying to insert a blank line in my actual report layout? Can that be done on the fly?

Hi,

Unfortunately, you cannot change field color in the report dynamicaly. I think, you can get a blank line other way. Make sure that neither of details fields prints for the last ( blank ) record using Print When. Add one more field with empty string as a value to the report that overlaps the first field of detail record and mark it to print only for the "blank" record. Don't check it's Remove Line if blank property.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform