crystal-reports - Crystal Reports 报表页脚显示公式的最高值
问题描述
我试图展示四个地点迟到或准时。详细地说,我正在评估时间
if ({Location} = '1' and {#RTotal0} = 2 and {@Time Vs APP} <= -9 and {@Time Vs APP} <= -29) then 'Running a little behind ' else
if ({Location} = '1' and {#RTotal0} = 2 and {@Time Vs APP} <= -30 ) then 'Running Behind ' else
if ({Location} = '1' and {#RTotal0} = 2 and {@Time Vs APP} <= -45 ) then 'Please Check with Staff ' else 'On Time'
我已经放置了 4 个单独的公式来评估每个位置,在评估中我只查看 2 的运行总 ID
{#RTotal0} = 2
这个想法是在报告页脚中显示 id 2 的运行总数是多少,但我只得到 id 1 的结果作为它的第一个关于如何{#RTotal0} = 2 的状态的任何想法?谢谢
报告:
公式:
解决方案
推荐阅读
- google-maps-api-3 - 如何在 Google Maps v3 中旋转包含 GroundOverlay 的 KML 图层
- python - 如何让这段代码更简洁易读
- sql - “With”命令比使用临时表慢 Select * into #table1 from
- react-native - 在图像的上角放置一个“x”,用于删除(React Native)
- python - Python 调用当前目录
- javascript - 如何使用 javascript 的 kubernetes-client 编写 CRD?
- sql - Access/Excel集成:如何避免同时用户之间的冲突?
- python - QTableView HorizontalHeader 让它非常滞后?
- uwp - 是否需要 Windows 应用程序认证套件流程?
- typescript - 如何获取类中静态方法的名称?