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.

converting repeating fields for fm8

Featured Replies

  • Newbies

Hi, I'm new to the forum and FM8 Adv, I'm sure this question has been answered but I can't find it.. I need to convert old (FM 5) repeating fields in an invoice file so they can be imported into a line items table. Any help would be greatly appreciated.

roadrep

After you do the file format conversion, you can use import file to import the old file into a new table. There will be an option to split repeating fields into seperate records.

  • Author
  • Newbies

Thank you for your answer. I don't think I was clear enough, I'm sorry. The original files date back from FM II, so repeating fields and an invoice number are the 2 pieces of data I have to work with. I need to asign each "row" of repeating fields the invoice number before,during or after the import into the new tables (line items) so they are not orphaned. The key is the invoice id (invoice number)

The White Paper for FMP novices was a great read, thanks.

-Roadrep

Well I am assuming that you have the invoice number in one field and the other repeating field with other line item data in it. So if you do the import, you should be able to match the key field as well. It will auto create the values for you.

So, if you have something like this

RecordID - 1

Repeating - red, green, blue

RecordID - 2

Repeating - square, triangle, circle

RecordID - 3

Repeating - pants, shirt, shoes

Upon doing the import, you will get a line items table with 9 records

1 red

1 green

1 blue

2 square

2 triangle

2 circle

3 pants

3 shirt

3 shoes

  • Author
  • Newbies

Thank you John. I tried your suggestion and it works with a lot less work than I did! I went ahead yesterday and created a conversion file with a script that looped through the records and repeating fields (if they weren't empty) and assigned a new invoice id and line item id to each record and repeating field. I did this becuase there are multiple invoice files, one for each vendor that I work with. So I added a vendor code to the invoice id at the same time, then did the imports to the FM8 test file.

I'm starting to think my entire design concept for FM8 is very flawed.

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.