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.

Question.

Featured Replies

  • Newbies

Greetings,

I am trying to create a database that will automatically create a document number when the user clicks "Create New" button. To do this, I have created another table, which I will used as a counter of sorts. It will keep track of the last number used, and when the new document is created, it will up the number by one in both places. I am not sure how to access the counter from the scriptng page, though. There are more than one type of document, so it will have to be able to find the exact field I am pointing it to, and change it after the creation process is complete.

If anyone can help me with this, I would be very grateful!

Thank you,

A.

Hello and welcome!

You could define one table for each documenttype, each table consisting of just one field with an auto-entered serialnumber.

The 'Create New' button would then have to create a new record in the table for the corresponding document type, read the serialnumber field and copy it to a serialnumber field of the main document table.

Ernst.

  • Author
  • Newbies

Thank you so much for your quick response!

A.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.