Hi guys
Using Oracle 8 and Crystal 9
I am trying to split a one line comma delimited address field into a normal address format using following:
@Add1 split({099.HOME_address_name},",")[1]
@Add2 split({099.HOME_address_name},",")[2]
@Add3 split({099.HOME_address_name},",")[3]
@Add4 split({099.HOME_address_name},",")[4]
The number of delimiters can be different each time and am getting the following error message if e.g. @Add4 is not found;
"a subscript must be between 1 and the size of the array"
Is there a formula I can use to check if this is null before printing records?
Thanks
jcl5
Using Oracle 8 and Crystal 9
I am trying to split a one line comma delimited address field into a normal address format using following:
@Add1 split({099.HOME_address_name},",")[1]
@Add2 split({099.HOME_address_name},",")[2]
@Add3 split({099.HOME_address_name},",")[3]
@Add4 split({099.HOME_address_name},",")[4]
The number of delimiters can be different each time and am getting the following error message if e.g. @Add4 is not found;
"a subscript must be between 1 and the size of the array"
Is there a formula I can use to check if this is null before printing records?
Thanks
jcl5