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.

Populating foreign key fields when importing from excel.

Featured Replies

I want to populate a table from an excel spreadsheet, a child table to my master projects table in my fm db. The foreign key field I need to fill is the "project_number" key, since I am using an internally assigned fm serial key for each respective project number assigned by the user. 

 

So my thinking is. Populate the projects table first, have fm assign a pk for each project, then somehow find a way to relate fm assigned serial to existing project no. in the spreadsheet and then import it? Surely there should be some easier way...

 

(this of course stems from the fact that I 've opted for an fm assigned pk serial, instead of replicating the XXX-YY (X:number, Y:year) project no we currently use, and using that as an fm assigned pk, after having inputted the data already available. Maybe I might need to rethink this. I hope I can input the project no.s in a field and then, from then on, have fm assign itself the XXX-YY code, that is change the type of field to autoenter without affecting the previous records.)

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.