Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Using a script to append a field - skipping the hypens


This topic is 6348 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

This topic is 6348 days old. Please don't post here. Open a new topic instead.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.