本文介绍了如何在报表上设置动态条件格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 大家好! 我有来自交叉表查询的报告,其中我想根据特定的prio条件有条件地突出显示整个列(详细信息部分)。 字段为:Field1,Field2,Field3,Field4,Field5 ... Field30。 我试图为详细信息部分设置每个字段的条件格式ReportDesinView。在报告的属性表中,我选择了DetailsS​​ection,然后在下面的代码中设置On Paint属性!Hi all!I have a Report from Cross-Tab Query in which I would like to Highlight the Whole Columns conditionally (Details Sections) according to the certain prio-conditions.The fields are: Field1, Field2, Field3, Field4, Field5...Field30.I have tried to set the Conditional Formatting for Each Fields as on the Details Section of the ReportDesinView. On the Property Sheet of a Report, I have selected the DetailsSection and then Set the On Paint Property the following Code! 展开 | 选择 | Wrap | 行号推荐答案您可以使用a for each构造来遍历所有字段。另外,请不要双重发布您的问题。You could use a for each construct to iterate through all the fields. Also, please don''t double post your questions.好的谢谢!但是怎么做呢? Rabbit?Ok thanks! But How can it be done?Rabbit?我已经说过如何做到这一点。通过使用a for each construct to遍历所有字段。 如果你愿意,你可以迭代你的控件,但这可能会引起控制你不会想。通过迭代遍历字段,假设控件具有相同的名称,那么您可以放心,它只会格式化记录集中的字段。I already said how it can be done. By using "a for each construct to iterate through all the fields."You could iterate through your controls if you wanted, but that could pull in controls you don''t want. By iterating through the fields, assuming the control has the same name, then you can rest assured that it will only format the fields in the recordset. 这篇关于如何在报表上设置动态条件格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-02 03:02