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.

Best Practices Ruling

Featured Replies

Need some thought on relationships:

Situation #1:

I have two tables -- I have a pull down menu on the parent table Called "Table1"and information on "Table2".

Do I join by:

Table1::Name -- Table2::Name

Pros: Easy to do -- Works well when I add a listing it shows up in the pull down list

Cons: When I change the names on table2 it does not change the name on table1

Do I join by:

Table1::recordID -- Table2::Rel_RecordID

Pros: Also easy to do.

Cons: Makes multiple entry's of the same name?

Is there another way?

Thank you

Edited by Guest

Using a field that contains meaningful data (e.g. a person's name) as a key field is a database Worst Practice.

There is no con to joining tables by unique ID: it is simply How It's Done. If you're having difficulty in achieving a particular result it's probably that you need to rethink your design. You haven't given us much to go on here but my guess is that you may have a many-to-many relationship, which typically requires a join table.

PS: Record ID has a meaning that is distinct from Unique ID/primary key field.

Get(RecordID)

  • 3 weeks later...
  • Author

Thank you... I will try to rethink what I have done. Thank you. Please check back on this for me as I will post some examples for your thoughts.

Thank you,

Joseph

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.