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.

creating GUIDs/long unique identifiers

Featured Replies

  • Newbies

Hello,

I am not very experienced with FileMaker and am working on a project. We have a list of customers, each with a customer id, and want to send out a mailing with custom links for each user. We were going to send out something like www.website.com/page.htm?id=1234, where 1234 is the customer id. BUT, we dont want this number to be guessable or sequential.

I've seen GUIDs (globally unique IDs...really long letter number combinations) being used by others, where each customer's ID is either GUID-like, or each customer has a second identifier for this purpose. Is there a way in Filemaker 6 to automatically generate and store a GUID for each user already in the DB?

Any help much appreciated!

ggantzer

[email protected]

One method would be to add a random number to the customer ID. This would then be your second identifier. The random number would be large enough so that the chances of a duplicate would be nill.

Transpower is correct. You can make use of the Random function to generate a very long random number.

Keep in mind you will be getting a number that has a decimal at the beginning and is 15 digits in length.

If you want to parse out only a portion of the number, you can multiply the number by some factor of 10 to move the portion of the number you want to be in front of the decimal place and then use the int() function to grab only the number in front of the decimal.

example:

if your random number = .117766756153557

Then using: int(random * 100000)

will give you: 11776

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.