Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

search and replace a field in a record

Featured Replies

  • Newbies

This is probably a dumb question, and one that I bet has already been asked, but I'm a beginner and couldn't find the answer in the search.

In my file, each record has a field that generates an automatic serial number when a new record is made. But I want to create another field that if used will search for an old record and will replace the old serial number with the new serial number? Does this make sense?

Edited by Guest

Hi sikanruobc, and Welcome to the Forum.

A serial number usually has meaning and should not be tamper with. Often they are behind the scene reletional Keys, or controlling billings, etc..., changing one, can often lead to borken links, and really mess you up.

Tell us why you would want to update the number? And we will see if there isn't a better way.

I see you are using v6 by your profile, it this hasn't changed, we need to be mindful of that when we suggest solutions. It is wise to include the platform and version in the First post of the Tread, so that it is plain to us which one you will be using.

HTH

Lee

  • Author
  • Newbies

I guess what I was trying to say was that I'm trying to create a database that when a new record is created it will generate a serial number that will work for the fiscal year. Example, 07-001, 07-002, 07-003, etc. BUT, if a record needs to be voided or deleted, it will not skip the number that it gave to the deleted record. Does this make sense? We're using FileMaker Pro 6 and on a Mac OS X Tiger.

Thanks in advance for any help or guidance you or anyone can provide.

Also, how do I relate the fiscal year to the serial numbers? I mean, how do I make the serial number change to 08-001, etc. once the calendar hits July 1, 2007?

Thanks again.

This subject has come up in the past. Recently I think someone suggested a Custom Function for this.

I just did a search for [color:blue]+serial +number +annual and came up with this post. Link However, the post I remember wasn't in the hit, so do some searching using some varibles in the keywords. (i.e. +Resetting, +Custom +Function, etc.)

Lee

  • Author
  • Newbies

This is a great link! Thanks!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.