本文介绍了如何在crystal report中声明变量需要帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我需要转换vb.net中的电源构建器代码。
这是电源构建器代码
Hi all,
I need to convert the power builder code in vb.net.
this is the power builder code
receiptdate +" ("+Mid(Upper(dayname( receiptdate )) ,1,3)+")"
我尝试过像这样转换
I tried to convert it like this
stringvar ReceiptDate = {DataTable1.ReceiptDate};
numbervar dayname = Mid(UpperCase(Day( {DataTable1.ReceiptDate})) ,1,3);
cstr(ReceiptDate) & cstr(dayname);
但是当我想将它保存在水晶报表中时,会出现需要日期的错误状态。
任何人都可以指导我如何解决它吗?或者是否有任何网站都有关于在水晶报告中声明变量的教程vb.net?
but when i want to save it in crystal report,it come out an error state that "A date is required."
Can anyone guide me how to solve it? Or is there any website that have tutorial about declaring variable in crystal report vb.net?
推荐答案
这篇关于如何在crystal report中声明变量需要帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!