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.

Serial Numbers Based on Date

Featured Replies

Hi all,

New to filemaker and have (what seems like) a simple question. How do I make a field that numbers the entries for the day. I have multiple transactions everyday and need them to be numbered 1-X everyday.

For example my fields are:

Date, Client name, Item name, Price, Multiplier, and Daily transaction #.

I am using Filemaker 10 and Mac os X

thanks for the help,

Booker

Edited by Guest

So, you want to restart your page numbering each day like this

Orders for Today:

1-092209

2-092209

3-092209

Orders tomorrow:

1-092309

2-092309

You'll need a self-relationship or to control it via script. I will build a sample file with a self-relationship...

I would have to agree that this particular scenario is not safe in a multi-user environment. When necessary, it requires baby-sitting and of course should never be used as a primary key.

SerialNumbersBasedonDate.fp7.zip

Edited by Guest

Could you make a plausible explanation why this scheme should be safe in a multi user environment?

--sd

To follow-on from Soren, such numbering can be done, but it's generally never a good idea. Nothing but trouble. Always ends in tears.

Whatever you do, don't use these numbers for relationships or anything important. Use auto-entered serials for relationship primary keys.

I agree - see also:

http://fmforums.com/forum/showtopic.php?tid/211171/post/340744/#340744

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.