01-25-2024 11:00 AM
Hi everyone!
I'm currently building a linked cube view that will inherit the Entity and IC members from the original cube view from which it is called.
The IC member, though, will need to go through a transformation (remove the last 3 digits) so I created a XFBR rule to do so.
For example, if the Entity member will be 1010TRW, the IC will be 1010.
I tried to call the XFBR rule in the POV but when I launch it it returns the following error:
"Index and length must refer to a location within the string."
Am I missing something?
Below you can find a screenshot of the POV of the linked CV
Thank you in advance!
01-25-2024 02:53 PM
Er, I think you meant to post the actual XFBR code, surely...? 😊 The error comes from that.
01-26-2024 06:10 AM
Hi Fc,
Also it'd seem that there's no input on the function so when you delete the last 3 chars, there's an issue with the index. Could you share the code?
Also You can check that the navigation links on the main CV have the same names as those that you call in the image.
Best regards
02-19-2024 04:02 AM
Sorry for the late response
The error indeed came from the XFBR code, now it works fine
Thank you both!