I created a custom function and ever since then the entire application crashes when inside the formula editor. I thought maybe it was a problem with the function so I managed to save it as this:
Function ()
""
It should not be causing a problem at this point. The application crashes 100% of the time if I click on the custom function once to open it and then a second time. It also crashes 100% of the time if I right click on the function. It's really annoying and I just want to delete the function but the option to delete it is grayed out on the toolbar and like I said, the application crashes when I right click on the function. See Crystal Reports version info below.

Request clarification before answering.
CR 2020 is a 64 bit only version, meaning your custom function may need to be update to that platform.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Don,
Thank you for your reply, but, unfortunately, there is the real problem with this functionaly in CR2020. Here is a step-by-step description to reproduce it.
1. Create an empty report.
2. Add a simple query from any Oracle DS. In my case it was "Select 'test' as s_field from dual"
3. Add this field to this report layout. We see 'test'.
4. Add a new formula to this report. For example: fr_new. A formaule editor window will be opened. There we add a custom report function, f.e. crf_test. Here it is its code:
Function (StringVar c_in)
(
StringVar c_out;
c_out := 'test crf result';
);
5. Add to your data fomula fr_new
crf_test ({Команда.S_FIELD});
6. Save and Close the editor.
7. Place this data formula to the layout.
8. Now there are two labels - 'test' and 'test crf result'
9. Edit the fr_new formula. The formula editor is opened.
10. Select your custom report function crf_test from the left tree.
11. The text of this function will be shown for a couple of seconds and CR 2020 is closed without any messages.
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.