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.
Hello,
Some steps seem to be missing, I can't add a "function".
How are you connecting to Oracle, ODBC, CR Native Oracle or OLE DB?
Are you using a Command Object to enter the SQL into or is it something on the Oracle you are using?
Is that function referring to an Oracle Function?
And connecting to Dual where did this field come from?
({Команда.S_FIELD});
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Don,
Let's simplify the steps. This time, it is without any connections to data sources...
1. Create a blank report. On prompting to select a data source connection just press Finish.
2. Create new formula, enter any valid name, f.e. fr_new.
3. When the formula editor window is opened, right click on the Custom Report Functions and select Create... option.
4. Enter any valid name, f.e. crf_test and add there f.e. this code
Function()
(
'test crf result';
);then Press Save button in the formula editor window
5. Edit the fr_new formula, by adding
crf_test;
then Press Save and Close in the formula editor window.
6. Add the newly created formula fr_new to your blank report. The string test crf result will be displayed on the report preview.
7. Now, edit fr_new. When the formula editor window is opened, select your custom report function crf_test from the left tree.
8. The text of this function will be shown for a couple of seconds and CR 2020 is closed without any messages.
Hope it will help you to reproduce this issue.
Best regards, Max Barybin
| 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.