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.

same-named fields in different tables

Featured Replies

I realize that same-named fields (e.g., "NameFirst") in different (related) tables have their own context. Does giving them different names, like "NameFirstEmployee" and "NameFirstVendorContact" have much value to developers (an extra, but not necessary identifier as to which field/table is being referred to)? I'm thinking the overhead of the extra length might not be worth it, but I'm not sure. Thanks.

Bob

Not really no. Unless both fields are in the same table. In the case that they are, yes but watch the length of your field names.

Otherwise, your probably shouldn't worry about it. I.e. if your NameFirst field is in a table called employee, its purpose should be obvious.

~Genx

Not in my opinion. Especially if the table name implies the context. If you have a Vendors table and an Employees table, then Vendors::VendorName and Employees::EmployeeName is somewhat redundant. I try to keep my field names as short as possible as long as they are not ambiguous. You can also use the comment field in the field definitions for better documentation.

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.