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.

Importing csv data into multiple tables

Featured Replies

Hi, I have an old FM database that I inherited and I've built upon over the last 10 years.

It's to keep track of club members and the programs they purchase.

It's always been flat, that is 1 table. So each time they add an additional program I just copy the existing record - kinda messy I know, but it's always been manual entry and it works. I've added a lot of calculations and scripts so that it can send out itemized emails with everything from purchases to ID numbers for an on-line booking system that we have.

This year the club is adding an on-line registration ecommerce solution (built by an ecommerce developer).

What I'd like to do is revamp the database, which I've started to do using one of the Filemaker templates. I have a MasterID table which contains family name, address, familyID#, etc., I have a Member Table which contains all the members in each family and their contact information. Then there is a Transaction table which holds all the purchases for the family.

These tables are all connected using the familyID#.

What I'm trying to get my head around is importing the data from the ecommerce application. Let's say I'm importing CSV data. Do I have to do up to 3 separate imports to get all the data into the appropriate tables, or can it be done in 1 step?

Every year starts a new season. I need to import data for repeat Members whose Family information already exists. Later on in the year a lot of the imports would just be Transactions for existing members. Sometimes there are new Families that join so I would need to import data into all 3 tables.

Thanks for any tips.

jim

Do I have to do up to 3 separate imports to get all the data into the appropriate tables, or can it be done in 1 step?

You have to do up to 3 separate imports AND it can be done in 1 step - or rather in one script. Import the data into a temp table, and let the script "distribute" it from there. See also:

http://fmforums.com/forum/showtopic.php?tid/217177/

  • Author

Thanks Michael, I'll give it a go and see if I can figure that out.

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.