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.

Combining multiple fields into a repeating field

Featured Replies

FM6-WIN

I have information in 15 fields that I need to combine into a single repeating field so I can search for contents of one field rather than search through each of 15 fields.

Is there any way to do this.

Hi Chuck,

Ok, what version and platform are you on again? :giggle:

You can use a calculation field and Concatenate your field, and then do your search in it..

HTH

Lee

Lee is absolutely right - But do yourself a favour understand that repeating fields are for utility purposes only!!!!

--sd

  • Author

I'm using FM 6 on a Windows box.

I guess I didn't explain my problem fully.

I am converting from a DOS database. The database is student records. There are 15 fields in the DOS database that contain course names. There are 15 courses. Some students took some courses. The courses are not entered in the fields in any order. If I want to find which student took a specific course, I'd have to search for a course in each of the 15 fields.

I have created 15 fields for the courses in the FM database and imported the records. Now I need to import all the records in the 15 fields into one repeating field with 15 repetitions.

I know I can import a repeating field with each repetition as a separate record. I'm just wondering if it is possible to import the other way, separate fields into a single field, like perhaps when mapping the fields, map Course 1 into the Repeating field as Added Record, then map Course 2 into the Repeating Field as Added Record, how do I map to repetition 2. I don't think it can be done. Do you know of any way?

Now I need to import all the records in the 15 fields into one repeating field with 15 repetitions.

No - now is it the right moment to hessitate, and study relational designs instead. What you need is a portal to show the courses and certainly not a repeating field. This is as classic as "Hello world" is for the c++ newbe, almost every book on the topic uses this problem as the introduction to a many-to-many structure, so grap whatever book on relational design/data modelling.

--sd

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.