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.

Account Name vs Name

Featured Replies

Hello, I have not worked much with server side authentication and only delt a little bit with file security settings and all of that was years ago. So I'm back now building a bigger project.

I am designing a database and want to auto enter who created each record. I know later on I'll be dealing with each users privileges and log-ins. So, what is the difference with (when defining a fields auto entering criteria) "Account Name" and "Name"?

Thanks

Common question. Account Name is preferred. User Name is the value in FM Prefs on the workstation (useless, imho).

You may wish to also populate a StaffID_created, if you worry account names may change.

  • Author

Thanks

You may wish to also populate a StaffID_created, if you worry account names may change.

What do you mean by this? The records data should not change even if the user's account information or login changes. Are you talking about creating a whole lookup for StaffID #s to use instead so if login changes they will still be under the same ID?

Yes. I do a find in an Open Script in the Staff table where AccountName = Get (AccountName). Then I capture gStaffID. All tables have an auto-entered number field, _kF_StaffCreatedID = gStaffID. So, when Mary gets married and wants her account changed, I don't care.

  • Author

Thanks, good idea. I'll consider that for later. But for now, this is a small place and the field is not expected to be used much. It's for problem solving data entry errors. thanks again.

OK. So a simple use of an AccountCreated field with the entry option of populating this field with AccountName.

I usually have in each table:

zz_AccountCreated

zz_AccountModified

zz_TimeStampCreated

zz_TimeStampModified

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.