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.

Featured Replies

I need to know how to generate a client number based on the record number. Easy enough. Problem is that they want some special functionality that is beyond me:

Let's say we have records 1,2,3,4. With client numbers 101,102,103,104 respectively.

We delete record 2(thus deleting client number 102), and rather than assigning record 105 to the next one that is created, they want it to assign client number 102 since that number is no longer in use.

How would I do this?

Okay, first of all... WHY!!!

Second of all... You could do this in a number of ways. One way that comes to mind is to sort by the client number and then loop through the records starting with the lowest number, testing each one to see if it equals the previous client number + 1. When you find a gap or reach the end, use that number.

Third of all... Please use a subject line that is informative about what the thread is about. Subject: HELP!!! is very bad netiquette.

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.