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.

Command Script

Featured Replies

  • Newbies

Hi,

I am trying to replicate an Access database command in Filemaker (see original Microsoft Access script below)

=IIf([NodeEasting] Is Null Or [NodeNorthing] Is Null,"No data","http://195.49.180//DorsetExplorer/?easting=" & Val([NodeEasting]) & "&northing=" & Val([NodeNorthing]) & "&zoom=200&Layers=1,2,3,4,5,6,7&ptx=400000&pty=100000&version=fwma")

I have the Easting and Northing fields in my FM database and I need to set up a button which 'on click' will generate the right URL address according to the Easting & Northing for each record and open the web browser.

Help much appreciated.

See if this helps:

http://www.filemaker.com/11help/html/scripts_ref2.37.63.html#1029602

Regarding "is null":

http://fmhelp.filemaker.com/fmphelp_11/en/html/func_ref3.33.12.html#1028095

Regarding displaying a message like "No data" in a web viewer (not sure if that's what you're doing):

http://sixfriedrice.com/wp/filemaker-9-tip9-web-viewers-without-the-web/

  • Author
  • Newbies

Thank you for your replies. I am familiar with the web functionality, the problem is that for each database records the Easting & Northings will be different. I am trying to find a way (if possible) for FileMaker to look at both fields and replace the Easting & Northings within the url address. In an Access database this is a straight forward function to add.

Where you have "Val([NodeEasting])," simply use the name of the field.

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.