Using Crystal Reports for VS 13.0.13. A report has a group defined for a numeric database column. The formatting options for the group header format the number using the "-1123" format so there are no commas or decimals.
When I export this report to PDF using the Crystal Reports designer and tell it to create bookmarks from the headings, everything is correct.
When I do the same thing from the runtime, the bookmarks ignore the format specified for the group and uses the default number format instead. For example, if the field value is "12345", the bookmark gets created as "12,345.00" even though the group header is correctly formatted as "12345".
The only workaround I've found is to customize the group name field to use a formula that formats the number using cstr(fieldname,"0").