The function below currently works just fine. The "*" on either end are there as the data in the string is a barcode.
"*" + Trim({CusCushionInv.BaseModel} + "*"
I now need to program for the possibility of a space in that string as it can not be output to a barcode with the space. What I want to do is have a replace function that looks for a space and replaces it with an underscore _ character. This is what I've come up with but I have something wrong as I'm getting an error: "Too many arguments have been given to this function."
Replace ("*" + Trim(({CusCushionInv.BaseModel} + "*", " ", "_")
Can anyone see what my problem might be? I'm thinking that it's a syntax problem but I'm not sure.
Thanks
"*" + Trim({CusCushionInv.BaseModel} + "*"
I now need to program for the possibility of a space in that string as it can not be output to a barcode with the space. What I want to do is have a replace function that looks for a space and replaces it with an underscore _ character. This is what I've come up with but I have something wrong as I'm getting an error: "Too many arguments have been given to this function."
Replace ("*" + Trim(({CusCushionInv.BaseModel} + "*", " ", "_")
Can anyone see what my problem might be? I'm thinking that it's a syntax problem but I'm not sure.
Thanks