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

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

Recommended Posts

Posted

Filemaker novice with a serious problem. I have auto-enter five digit serial numbers. I need to create a script that appends dash 1, dash 2, and so on... Ex: 89632, 89632-1, 89632-2... I'm completely stumped. Any help would be greatly appreciated. Many thanks in advance.

Posted

Thanks for the offer. I currently generate a record with an auto-entered serial number (xxxx). I need to duplicate that record and attach a serial number that is a sub-set of the original serial number (xxxx-1). I'd like to repeat this process: xxxx-2, xxxx-3, xxxx-4, etc. Hope that helps.

Posted (edited)

ok... ummm. still a bit confused... how many records... if you want you just run a script like ummm... and lets say duplicate 10 times...therefore generating up to 10 records with sub serials... no idea why but hey...

SetVariable(ID = Serial Number)

SetVariable(RecordGenNo = 1)

Loop

- Duplicate Record

- Set Field (ID) = ID & "-" & RecordGenNo

- SetVariable(RecordGenNo = RecordGenNo + 1)

- Exit Loop If RecordGenNo = 11

- Goto Record Next

End Loop...

I highly doubt this is what you wanted... but hey

Edited by Guest
Posted

Thanks so much for the help. I'll give it a try. Sorry I'm not more clear. We're doing jobs that occur in stages with different assets. We'd like to complete stage one of a job, then reassign people and proceed on to a second phase, etc. Thanks again.

Posted

Hi RK

I think that it's possible to make a calculated serial number with a flag (1 or 0 as default), so that if you want a duplicate, you'll set the flag to 1:

1 (flag to 0)

2 (flag to 0)

3-1 (flag to 1)

3-2 (flag to 1)

4 (flag to 0)

and so on...

Is this what you wish ?

Posted

See the demos on the Nightwing web site

http://www.nightwing.com.au/FileMaker/

This topic is 6880 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.