leomark Posted March 29, 2008 Posted March 29, 2008 How can I add a character before and after an existing text-string? I have a field that contains 1001 and when I print it out I would like to change it to *1001* automatically as part of the print script. I tried to use "Set Field" to "*tablename:fieldname*", but all I got as tablename when printing. So what's the correct way of doing it? Thanks
Fitch Posted March 29, 2008 Posted March 29, 2008 Your calc would look like this: "*" & yourField & "*" But why not simply put the asterisks on the layout that you're printing? Using a merge field, perhaps.
leomark Posted March 29, 2008 Author Posted March 29, 2008 Thank you for your very quick response. That's the calculation I was looking for.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now