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

If I put a global in a db with only one record... will multiple users be able to modify that global at the same time?

I know the values of globals are unique to each user, but will it allow two people to modify it when they're on the same record?

When you put the cursor into field you lock the record (there is many other way to lock the record) even if the field is global

Dj

  • Author

Does anyone have any good workarounds?

I am using this for a login screen which comes up when the database opens. People don't spend a lot of time on the login screen, but in my case, I expect most people to try to login at about the same time.

there is many other way to lock the record

What are these other ways (other than putting a cursor in a field)?

What happens will depend upon the EXACT process that the users will go through. Without knowing the exact process it is impossible to predict what will happen and how to prevent this.

The example above about locking the record is a bit simplistic and presumes that the user has actually clicked into the field in question and then left the terminal. Now this may happen as part of your process, but it also may not.

So what is the exact process that your users will be following?

One possible workaround is to create a new record in the login file whenever a user logs in, and then delete it when they log out. Script it so that each user remains on his/her own record while using the system so that they don't interfere with each other. This is essentially the method used in the Moyer and Bowers book to avoid this problem.

  • Author

Hi Kurt,

My concern is not so much if someone clicks in the field then walks away, but the few seconds in which they are entering data.

Basically here's how I have it set up: The "Main" db opens, goes to a login screen. User enters username/password then clicks enter. After that I don't have to worry about it because there are no more fields in this db (not that normal users will see anyway).

Bob,

I really like your suggestion. Unfortunately, my login file is also my configuration (preferences) file, so it was not intended to have more than one record, and I wanted to disallow record creation/deletion to keep it that way.

So I guess I should either make a separate "Preferences" file so that the login file is only that (probably what I should have done in the first place), or just implement your suggestion with the existing file and put some protections in place to make sure users don't delete the first record, etc. Any thoughts?

What are these other ways (other than putting a cursor in a field)?

1) Selecting portal row.

2) Simply scrolling the portal

And also many Script Steps would temporary lock the record, of course this usualy don't create problems and the good programing practice (and the one that will improve visibily system performances) is to lock the record yourself, by placing cursor in some of the fields using step go to field, before starting an sequence of steps that would lock/unlock the record every time performed, like setting different fields one after other.

Dj

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.