Skip 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 a csv file into a Filemaker Portal

Featured Replies

  • Newbies

Hello,

I am new and I am hoping that someone will respond to my question with steps I can follow:

My Excel csv file is setup as follows:

Date,Player,Game1,Score1,Game2,Score2,Game3,Score3

23/2/07,Bob,TPlanet,345,Rcar,232,Fjet,135

23/2/07,Kim,Gwar,239,Fboat,330,Fjet,238

.

.

How can I import each row to a record that has a portal similar to how the Games and Scores are shown below?

Record1

Date 23/2/07 Player Bob Total Points 712

TPlanet 345

Rcar 232

Fjet 135

Record2 (you get the idea...)

I have been playing with portals from examples and they work quite nicely but I need to transfer all my data in FM first.

Any suggestions or even a piece of sample code that actually would import my records for just the small sample above would be helpful.

thanks.

  • Author
  • Newbies

I see my question has a lot of views but no replies? Does this mean it cannot be done or am I not phasing my question properly?

Maybe it would help for you to give some further details.

I think you need to perform a series of imports. The first import would be to a Players table*, and it would import the Date and Player columns only.

The second import would be to a Games table, and it would import these columns: Date, Player, Game1, Score1.

The third import would import to the same table (and to the same target fields):) Date, Player, Game2, Score2.

The fourth import (again to the same table/fields):) Date, Player, Game3, Score3.

Then you can define the relationship as:

Players::Date = Games::Date

AND

Players::Player = Games::Player

and define a calculation field in Players as =

Sum ( Games::Score )

to get the total points for each player/date record.

---

(*) The name Players is not a very good choice for this table, but I couldn't come up with a better one.

  • Author
  • Newbies

Thank you so much for the outline... this also gives me another idea on structuring the future for how to move forward once all the data has been ported.

To some it may seem obvious but to a beginner it's the simple things that help.

thanks again.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

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.