|
-
Nov 6th, 2003, 01:47 PM
#1
Thread Starter
Lively Member
Replace function question with syntax
The line 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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|