我需要知道如何在 SSRS 报告中使用显示方法。我有一个问题。我为现有表创建了扩展类。在那个类下我写了我的显示方法。
[SysClientCacheDataMethodAttribute(true)]
public display CustAccount CustAccount(ProdTable _prodTable)
{
CustAccount custAccount;
if (_prodTable.InventRefType == InventRefType::Sales)
{
custAccount = SalesTable::find(_prodTable.InventRefId).CustAccount;
}
return CustAccount;
}
我的报告是基于查询的报告。我能够在报表中看到显示方法,并且我已将该字段放入报表设计中。但这份报告没有任何价值。
请尽管指导我。