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.

Featured Replies

Hello All

This should be easy, but I can't seem to get it.

I need filemaker to open a text file, based on the current record. There will be thousands of records, so I do not want to add a data source for each one.

The best way I've found is using the send event script step. This will allow me to open the file based on the record.

Here is the problem. This is the path: \\192.168.2.83\HerdArc\WMIC\SERVER12-PC\systeminfo.txt

The "Server12-PC" changes based on record, and systeminfo.txt changes based on which script parameter is passed by the button.

I can use this path as straight text in the send event, and it works perfectly, but I can not calculate it out. Filemaker really does not like the "\\" part. It drops the first "\". I even had it calculated out some, so the variable reads correctly, but Filemaker sends an error 100, (can't find specfied file). Again though if I type the text into send event it works.

also using File:\\192.168.2.83\HerdArc\WMIC\SERVER12-PC\systeminfo.txt does not work.

By the way, I can not use a mapped drive letter, it will be run from multiple locations with no consistent mapping.

Any help would be great...

Gil

  • Author

I got it. Sure you spend three hours or so working on something, finally post, and then you get it 15 min later.

This is what I did. Somehow this worked....I made a calc field Path = "192.168.2.83HerdArcWMICSERVER12-PC"

The made another calc field that references Path called PAth_Fixed. Path Fixed = Left(Path, 28), which takes out the computer name

Then I made a variable that is equal to Path_Fixed$Comp_Name&File_Name

It worked then... How odd.

Filemaker really does not like the "" part. It drops the first "".

The backslash is an escape character. To have a calculation return "192…" use =

"192…"

  • Author

Thanks. I figured that out, but forgot to include..

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.