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.

[ OFF TOPIC ] Primary Key

Featured Replies

I have read the article on this forum "Auto-entered Unique PrimaryIDs". I think this is simply a brilliant approach to a primary key and I appreciate the explanations of why it's important to separate the actual primary key from the data itself.

Everything I've read to date about primary keys suggests selecting a field that is a good candidate (such as purchase order number--which 'should' be unique) or an auto-incremented key (1, 2, 3, etc.). I also like the idea that this approach will be unique across databases. It could allow for entry into the db from two remote sites with the records later merged and virtually no chance for any keys to overlap.

Here's my question:

I want to adopt this as my technique for creating a primary key from now on--for every database. I'm currently learning MS Access and cannot figure out how to implement this same approach for the primary key. If someone knows MS Access 2000 and can point me in the right direction, I'd really appreciate it. What I can't figure out is 1) where I should put the calculation and 2) how to get the date/time as serial numbers of the current date/time instead of formatted date/time and 3) how to get the record ID.

I know this is off-topic, so if someone can help me, please e-mail me privately ([email protected]). Thanks!

smile.gif

Ken Fleisher

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.