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.

fmp6:script messes up import?

Featured Replies

Facing a very strange phenomenon.

Import scripts that worked perfectly fine seem to 'lose' their order.

Already encountered this problem three times. At first I thought it was my mistake and started over again, but now I'm sure I didn't change anything.

Is their any explanation for this?

Haven't entered the script and confirmed a new import order. I did add fields to the tables but that shouldn't make the difference.

Anybody had the same experience? Are there things you should watch out for that might change the order?

Oh I just wish their was an easy way to view the import order and what fields it imports from, without having to run the script again. When you print the script you just see the fields that are imported to.

Hi Michele

I am no expert but I think it is the new fields that are throwing your import order out.

As you say that should not make any difference but I remember the last time I had this problem back in 5.5 days it was the new fields that caused chaos.

I bet if you respecify your import with the new fields the problem goes away

HTH

Phil

  • Author

That's just awfull.

Read my previous question about importing 90+ fields.

That means that you can't continue to develop after you made your import scripts without having to redefine your imports over and over again.

Are there any solutions, any plugins, something..to solve this problem?

Edited by Guest

At the time my import routine only ever applied to 1 record so I was advised in a forum to do it via script with a series of set field steps.

That way as new fields are added the import script can be modified quite easily as required. I realise that this would not be efficient for a substantial number of records.

There must be some way of avoiding the repetitiveness of respecifying the imports but I am afraid I am not experienced enough to know what it is

Phil

Adding fields does not affect the import order, but removing fields does.

Adjusting the import order is easy enough; simply select the Import[] script step and hit the Specify button, then adjust it as needed.

It is coming back to me now.

The problem I had with a scripted import was when I decide to rename all my fields in order to standardise ( I started from the level of absolute beginner).

Boy did that cause me headaches trying to move the fields around in the specify box. Learnt the lesson though - avoid renaming fields where possible

Phil

  • Author

Not as easy as that when the order has completely changed. Haven't removed any fields though.

  • Author

Haven't renamed them either. Thanks for your feedback Inky Phil.

Really wonder what's going wrong.

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.