Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
データ項目Customerとデータ項目SalesLineを含むレポートが与えられます。
各顧客のすべてのセールスラインを表示します。セールス ラインを持たないこれらの顧客を除外するにはどうすればよいですか? フィルターはどこに置く必要がありますか?
OnAfterGetRecord各Customerのトリガーで、それらの SalesLines のカウントを行い、カウントがゼロの場合は、 を使用CurrReport.Skip()してそのデータ項目 ( Customer ) をスキップします。
OnAfterGetRecord
CurrReport.Skip()
このようなもの:
IF SalesLines.COUNT = 0 THEN BEGIN CurrReport.SKIP() END