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

I usually work in OSX and usually just drop into Parallels/WIndows to compile a Windows version of my app. This has worked extremely well; until I got to the Windows portion of my Import script.

post-72145-0-70910700-1330021733_thumb.j

I use 360Works Select File() function to get the path. The variable $$Path looks like this:

"filewin:/"&$$Volume&$$SelectImportFile

The resulting 'created' drive/path/file looks like this:

post-72145-0-83696100-1330022272_thumb.j

I have tried all kinds of combinations of $$Volume (no $$volume) etc and even tried to hard code $$Path to be as specified above. Import will not recognize the file path and name! grrrrr

I am exhausted from trying to find the 'right' syntax for this import problem. If you have any insight, I surely would apprreciate it.

Regards

Ron

Yes, the cross-platform file specification problem is one of the worst aspects of FileMaker. Here's a technique I use often:

Place an Import Records [ ] statment in your script.

Specify data source = File ... to open a Specify File dialog

Add File ... and select a file from the same directory as will exist at runtime

Observe/capture the displayed File Path that results from your selection

(In Windows, all slashes have to be forward slashes ... "/")

The remaining challenge, then, is to duplicate the path character string in your variable. On Export Records, for example, you can enter a hybrid string, like filewin::/$$CalcdPath right in the Specify File dialog. (But I vaguely recall there are a few featues that don't accept variables in paths.)

And even though variables can be used for most file references, I've never seen a precise statement of the syntax rules. In past years, I've found specific topics on these forums that have helped me figure these things out ... but I'm sorry I don't have any of them noted.

HTH

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.