Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4791 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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.

Posted

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/

  • Newbies
Posted

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.

Posted

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

This topic is 4791 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.