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 to checkbox set

Featured Replies

  • Newbies

hi,

i am very new to filemaker, can you please hep guys.

i am importing an excel file which has some comma seperated values in one cell that goes into a checkbox set in fm8.

but i cannot manage it, the checkbox set does not understand commas.

for example the cell contains:

America, UK, Germany, Italy

and the checkbox set has the same values as a custom list

How can i import the data to checkbox set and display the values checked?

A checkbox is merely a formatting option for a text field. The actual values contained in the field are return-separated. So, after the import, run a loop [or Replace] to set the field with

Substitute( yourField; ", "; ¶ )

  • Author
  • Newbies

thanks for the quick reply but how can i run this command?

sorry for that it may be very easy but i dont know how to do that?

Click in your field. Then press Ctrl + = (or go to the records menu and select replace field contents)

Choose replace with calculated result and then put in Substitute( yourField; ", "; ¶ ) where your field is your field

~Genx

  • Author
  • Newbies

thanks again...

btw i've found something, i wrote the command to the scriptmaker and it does it to all records.

but it does not stop i think..

is this a wrong way to run the substitute command?

I'm sorry? You mean you put it in a loop?

Likely the reason it didn't exit the loop is because you didn't specify an exit condition i.e. Exit Loop If.

If you did this in script maker, it should have been structured as one of the following:

Loop

Set Field [yourField ; Substitute(yourField; ", "; ¶ )

Go to Record [Next ; Exit after Last] **Note, when specifying, go to record Next or previous, there is an "Exit After Last" option which is ticked in this case.

End If

or

Loop

Set Field [yourField ; Substitute(yourField; ", "; ¶ )

Exit Loop If [ Get(RecordNumber) = Get(FoundCount)]

Go to Record [ Next ]

End Loop

~Genx

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.