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.

Calculation based on whether a file exists

Featured Replies

I am trying to use the Goya FileExists function to produce a boolean result.

I use my database on 2 machines and they are synced using sugarsync.

The point of the boolean calculation is to permit a button to be appear if a PDF file with a given name exists.

I am using the Get(DocumentsPath) to provide the first half of the path.

I get the feeling that the goya function is not recognising the syntax of the result of the Get(DocumentsPath) calculation.

Any ideas?

 

Back up a little: where would the file (PDF?) be if it existed?  Inside a sugarsync'd folder?  If so that exact folder name would not be in the same exact location on both machines.

  • Author

Back up a little: where would the file (PDF?) be if it existed?  Inside a sugarsync'd folder?  If so that exact folder name would not be in the same exact location on both machines.

Correct - so what I have is a field that gets the path to documents folder  - the folder heirarchy once inside the documents folder is identical on both machines - if that makes sense.

You can get the foldername using the BE_SelectFolder function. Call it in a test script, and diisplay the result in a dialog. That will show you the exact syntac the BE_FileExist function would need.

  • Author

got it to work by going to troi file exists - but will try olger's suggestion just to see: warning for all - the format returned by filemaker requires a fair bit of manipulation to make it work

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.