如果Crystal Report中的值为Null,则禁止datetime字段 [英] Suppress datetime field if its values is Null in Crystal Report

查看:80
本文介绍了如果Crystal Report中的值为Null,则禁止datetime字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

日期格式是上午9:30



当我从Crystal提取报表时,特定日期不存在的数据显示为空白而不是我想要一个字符串值..



我使用下面代码来压抑



if(Table.Time)='' ''那么其他是假的



它显示一个错误:这里需要一个日期时间。

Date Format is 9:30am

When i extract report from Crystal the data not present on specific date are showing blank Instead of i want an String value on it ..

I am using Below code for supressing

if (Table.Time)='''' then true else false

It shows me an Error : A datetime is required here.

推荐答案

此主题 [ ^ ]可能会有所帮助。



你也可以尝试在报告中使用suppress if blank选项。
This thread[^] might help.

You could also try using suppress if blank option in the report itself.


这篇关于如果Crystal Report中的值为Null,则禁止datetime字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆