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.

Skipping Indexed Numbers between Records

Featured Replies

  • Newbies

Hello, and thanks in advance for any assitance. Fair warning, as a noob I may be missing the obvious. (I have tried to find an answer for this.) Here's the problem:

I'm working on a project where my client provides quotes, but not all quotes become jobs. In addition to the Quote Number which is indexed and applies to every record (no issue there), he wants an indexed Job Number assigned only to those quotes that are accepted as jobs. This means that he wants an indexed sequence that falls in order of record, but has the ability to skip records without skipping numbers.

I think that I may need a field returning true (radio button?) that then prompts a search for the last record with a job number applied and provides the next indexed number in a separate field, but I've no idea how to actually accomplish this. Am I making the task more difficult than it is, or is this just one of those things that must be hashed out?

The ID use use to create links between tables should not hold ANY meaning to the end user. And should be unique and not user editable. So as long as this field you speak of is not the KEY fields between tables then you can imposed any "logic" via a script.

When you wish to ASSIGN your number you could attach a script to a button that grabs the Max(table_self::Job Number) + 1 provided you have a Cartesian self-relationship.

your table occurrences..

table::somefield [X] table_self::somefield

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.