Skip 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.

create a serial number using today's date

Featured Replies

Hi, I'd like to create a serial number using today's date and a record number (this is client preference, regardless of whether it's the best way to to do it). I need to create this serial number only if the word "fax" appears in a reference field ("fax" would always be the last three characters in that reference field.) The serial number cannot contain any slashes or dashes. So ultimately....if "fax" is in reference field, I need 082708001, then 082708002, etc. in the serial number field; else it should remain blank. Please help...I can't figure out how to do this without getting slashes in the serial number. The serial number field must remain a text field. Thanks so much for any help!

As long as you base the relational ties on this serialnumber are you on the safe side.

Take a look at:

http://www.databasepros.com/FMPro?-DB=resources.fp5&-lay=cgi&-format=list.html&-FIND=+&resource_id=DBPros000121

...you then make the category this way:


Let(

    [

        mo = Right( "0" & Month( Get( CurrentDate ) ); 2 );

        da = Right( "0" & Day( Get( CurrentDate ) ); 2 );

        ye = Right( Year( Get( CurrentDate ) ); 2 )

    ];

    mo & da & ye

)

And then concatenate it with the generated serial number.

--sd

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.