Newbies Bookseller Posted August 4, 2013 Newbies Posted August 4, 2013 Considering I've had FM since FM5, I should know how to do this. A field for sequential serial numbers needs to be amended to include a one-character prefix letter (7,000 existing records from 0001 to 7000). I need to create different copies of the entire database with the serial numbers starting with a letter prefix (e.g., A0001 to A7000). Sorry for such a novice question; everything I've tried has failed.
Lee Smith Posted August 4, 2013 Posted August 4, 2013 Hi BookSeller, and welcome to the Forums, This topic has been moved from "FileMaker Pro 12" to "Calculation Engine (Define Fields)". The General Topic Areas are for questions about the Tools, Functions and Features that were introduced with that version of FileMaker, and not for asking How-To Questions. I think your answer if the Replace Function.
doughemi Posted August 4, 2013 Posted August 4, 2013 Replace Field Contents (YourField; "A" & YourField)
Newbies Bookseller Posted August 5, 2013 Author Newbies Posted August 5, 2013 Thank you, Doug. I appreciate it.
doughemi Posted August 5, 2013 Posted August 5, 2013 Make sure that you show all records first. Replace Field Contents() only works on the found set.
Lee Smith Posted August 5, 2013 Posted August 5, 2013 Glad you agree Doug. You can't UNDO Replace, so be sure you do this on a copy of your file.
Newbies Bookseller Posted August 5, 2013 Author Newbies Posted August 5, 2013 Thank you both. Yes, I caught that 'show all records' caveat at the very last moment. Thanks.
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