Hi all,
I have a solution that is working in Crystal, but when I upload it to BOE schedule it I get an Array error, that the subcript has to be between 1 and the size of the array.
What I have is a report pulling a name from one source and comparing it to the name of another source to get information from both.
In the first source the name is in this format "John Doe"
In the second source it is in this format "Doe, John"
So what I did was create this formula:
stringVar array RescName := Split({V_ACTL_CAN.RSRC_NM},",");
Trim(RescName[2] & " " & RescName[1])
Basically, this splits "Doe, John" into "John Doe"
I then use the result as a selection filter on my subreport. Any clue why I am getting this error?
Crystal Reports XII, one oracle and one SQL database (ughh...)
Thanks!
I have a solution that is working in Crystal, but when I upload it to BOE schedule it I get an Array error, that the subcript has to be between 1 and the size of the array.
What I have is a report pulling a name from one source and comparing it to the name of another source to get information from both.
In the first source the name is in this format "John Doe"
In the second source it is in this format "Doe, John"
So what I did was create this formula:
stringVar array RescName := Split({V_ACTL_CAN.RSRC_NM},",");
Trim(RescName[2] & " " & RescName[1])
Basically, this splits "Doe, John" into "John Doe"
I then use the result as a selection filter on my subreport. Any clue why I am getting this error?
Crystal Reports XII, one oracle and one SQL database (ughh...)
Thanks!