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.

date and case calculation

Featured Replies

  • Newbies

Hello Everyone,

I need to keep track of a user's call with a call #. Rather than use the "serial number" implementation, I would like to use the date plus an incremental # to keep track of each call every time a new record is created( e.g. 112120001, 112120002, etc.)

I hope this is clear..

thank you in advance

First, go ahead and create a serial field, call it Serial#. Then create a field based upon it as follows:

Call# (calculation, text, stored) =

Right("0" & Month(Status(CurrentDate)), 2)

&

Right("0" & Day(Status(CurrentDate)), 2)

&

Year(Status(CurrentDate))

&

Serial#

The reason I padded out the month and day is that:

11/1/2000 --> 1112000

1/11/2000 --> 1112000

Oops!

The running serial number would still make the resulting call numbers unique, but if you just used the date, you could have a problem! This is one of those easy problems that is hard to debug, if you have used a composite key to connect two related files. -bd

[This message has been edited by LiveOak (edited November 21, 2000).]

Create an account or sign in to comment

Important Information

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

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.