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.

Running a Networked FM Script from VB

Featured Replies

I'm trying to run an FM script from Microsoft Word VBA Code. While this is pretty easy to do if the database is local, I'm having trouble figuring out how to do this over a network.

The trouble occurs at the following VB line:

Set FMProDoc = FMProApp.Documents.Open(filepath, password)

Basically, it opens a database using the specified filepath and password, and then stores a link to that database inside the FMProDoc object.

Unfortunately, I cannot determine what filepath to provide for a database on a network. From Filemaker, I would normally go to "Open Remote", choose "Local Hosts", and pick the shared database I want from the list. Is there a filepath equivelant?

Thanks in advanced. }:(

I don't believe you can open a remote file using VB(script) activeX. The workaround is to have a local opener file that gets opened by the VB Code, and then that file opens the remote file through a Scriptmaker script.

I think Reed is correct. I messed around with this for a few hours one time and never got anything to work. I ended up going with the opener file method.

Maybe Wim can chime in. When it comes to Windows topics, Wim is the final authority.

  • Author

Ah, well... I understand. Having a local file opener is a good workaround, though it takes away from the whole "one shared file" simplicity.

Thanks again for the responses. If anyone has further comments/suggestions, I'm still listening.

  • 2 weeks later...

AFAIK, can't be done. Not anymore. Used to work in FM 5 and/or 6 by just providing just the name of the file and no path, but that functionality went away in 7.

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.