Curlydave Posted July 9, 2007 Posted July 9, 2007 I have a very simple script to duplicate a record, and add ".1" to a certain field. Duplicate Record/Request Set Field [Main table2::Transaction $; Main table2::Transaction #+".1" It basically works, (and if I duplicate a duplicated script, it changes the .1 to .2 which is useful, but odd it does that without me telling it to) but the field it modifies usually has a hypen, which is deleted in the duplicate record field. The original record will show "2003-25", while the duplicate record will show "200325.1". Why is it deleting the hypens, and how do I prevent this?
Søren Dyhr Posted July 9, 2007 Posted July 9, 2007 Keep it as text, instead of the typecast - This means use & instead of the + --sd
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