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 woes, separating information

Featured Replies

I have a spreadsheet that i would like to import into my database that contains about 400 records.

One of the fields i am importing is the customer's name.

My dilema is that in the spreadsheet, the first and last names are in the same field whereas in my database there is a separate field for first name and last name.

My database already has several records in it so merging the two fields is not an option.

Is there anyway they can be separated on import?

Thanks

No, they cannot be separated on import. But you could create a tempory field FullName, and then parse the full name into the correct first and last name fields.

I'd probably loop thru the found set after import, and use SetField to populate the first and last names. LeftWords ( ) and RightWords ( ) will come in handy, as well.

You could also use the Replace command.

Here's a demo with a script for each. This entire approach assumes pretty clean Full Names. If you have hyphenated or more than 2 words, you've got more work to do.

And...you could just do this in Excel.

FullName.fp7.zip

  • Author

Thanks for the reply.

I think im just going to bite the bullet and do it in excel as several of the names are hyphenated and some records have multiple names. Thanks for the reply though, this will come in handy in the future.

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.