开发者

Crystal Reports formula method, GroupName

开发者 https://www.devze.com 2023-01-12 12:29 出处:网络
I am fixing some old reports and have come across the method GroupName. I cannot find exactly what it does and am coming for support. For that matter, is there an online reference that contains a list

I am fixing some old reports and have come across the method GroupName. I cannot find exactly what it does and am coming for support. For that matter, is there an online reference that contains a list开发者_StackOverflow中文版 of the built it methods in CR, parameters, etc.?


GroupName just returns a string of... well, the current Group Name. This is either just the field you were grouping on, or is a value customized via the Group Expert -> Options (Change Group Options) -> "Customize Group Name Field". It's whatever displays in the group tree.

If it's not listed in the Crystal Reports Online Help, which is oddly the case with GroupName, then your best bet is some good, old-fashioned Googling. I'm not sure of any resource other than commercial products that lists descriptions and usage instructions for all the functions, properties, etc.

EDIT: You have to pass the field you're grouping on. So, for a random example, GroupName(Patient.Patient_Type_Code) might return strings "Therapy", "Rehab", etc. from a numeric type code you're grouping on.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号