I have been working on this off and on for quite a while. I have a report that takes it's detail fields from a subform. I have 6 of each of the following fields: quantity , unit of measure, and price (quantity1,unitofmeasure1,price1,quantity2,unitofmeasure2,price2, ...all the way up to quantity6,unitofmeasure2,price6)
The quantity1, unitofmeasure1, and price1 fields are always visible on the report. But, the visibility of the rest of the sets of fields depends on whether or not they have data in the corresponding quantity field on the subform.
This works just fine for the first record on the report. But my problem is that every record on the subform is its own section on the report. The first record may have data in the quantity2, and I want the price2 or unitofmeasure2 fields for Record #1 to print on the report. But the quantity2 field on the second record of the subform may not contain any data so I don't want the price2 or unitofmeasure2 fields to print on the report.
As it is right now, if any of the records have a value in the quantity2 field, then the report prints all of the records as if they contain data in that field.
Is there a way to reset the the visible = false after each record in the report or limit the visibility of the fields to be based on the data in that specific record?
Thanks
The quantity1, unitofmeasure1, and price1 fields are always visible on the report. But, the visibility of the rest of the sets of fields depends on whether or not they have data in the corresponding quantity field on the subform.
This works just fine for the first record on the report. But my problem is that every record on the subform is its own section on the report. The first record may have data in the quantity2, and I want the price2 or unitofmeasure2 fields for Record #1 to print on the report. But the quantity2 field on the second record of the subform may not contain any data so I don't want the price2 or unitofmeasure2 fields to print on the report.
As it is right now, if any of the records have a value in the quantity2 field, then the report prints all of the records as if they contain data in that field.
Is there a way to reset the the visible = false after each record in the report or limit the visibility of the fields to be based on the data in that specific record?
Thanks