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.

Import between 2 Filemaker solutions

Featured Replies

I have 2 Filemaker solutions. Each of them will be a separate runtime.

Solution One contains a table named 'Job'

Solution Two also contains a table named 'Job'

I wrote a script to have solution Two delete all data from its own table 'Job' and replace it with the content of solution One wich is always current.

To make it simple, both tables have the same name 'Job' and 6 fields with exactly the same names also. (So they are identical by name and structure)

This is where it gets tricky:

I cannot assign paths in the import script because I cannot know in advance where the users will place either solutions. Most common scenario is 2 different computers inside a network.

Then when the script triggers, it warns solution One can't be found and opens a window to locate it. This part is easy to handle for users.

But what happens next is that the script goes on from there and always does its mapping with the wrong source fields (i.e. another table) so we end up with garbage.

The only way to make it work is by unchecking 'perform without dialog' and have the user align source fields with target fields, but users cannot handle this part.

Is there a way around this?

If no solution arises, I'll have to merge the 2 solutions in one and make a single runtime. However this a huge work and I will lose the flexibility to allow 2 different users to work on my application.

  • 2 weeks later...

I use 360Works ScriptMaster SelectFile() plugin.

It is 'free' and it allows the user to select the file desired and then you can simply produce the resulting path.

However, be aware, if you are running your app in OSX, you MUST use Allow User Abort ON. Otherwise you will get the 'spinning beach ball'.

post-72145-0-42486100-1331451702_thumb.j

By the way you may want to ignore the parts of the script dealing with finding the digital portion of the filename. It is a part of the logic that determines which files I use with Import.

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.