Software Venture Consulting
ToMarket

FileMaker Pro downloads & Resources
FileMaker Custom Functions
FileMaker Web Viewer Examples
FileMaker Pro & Lasso Consulting
Training
FileMaker Books
FileMaker Articles
FileMaker Error Reference

Free Web Tools
Free FileMaker Tools

Personal Pages
Videos
Adventures
Links

Shopping Cart
Shopping Cart

Search:

Free Newsletter
Signup


Brian Dunning
Contact me | vCard


Brian on CNN
Brian on CNN


Brian on CBS Radio


Privacy Policy



FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.

 FileMaker Pro Web Viewer Examples

Search  |  List  |  Show Random  |  Upload  |  Add This to Your Site

ZIP Code Geocoding

Ralph Nusser, Sogetes Computer-Services
http://www.sogetes.com

Find longitude and latitude for a given international zip code



Then copy & paste into the "Edit Web Address" field of FileMaker Pro 8.5's "Web Viewer Setup" window while defining a Web Viewer object in Layout Mode. Use FileMaker's calculation functions to replace sample data in this example with references to the fields in your database. See FileMaker's documentation for more information about Web Viewers.

Example:

Description:

/*
Syntax:
wv_ZIP_Geocode ( ZIP ; CountryCode)

CountryCode according ISO 636 look up here:
http://www.pruefziffernberechnung.de/Begleitdokumente/ISO-Codes.shtml

Author:
Ralph Nusser, July 27th, 2006

Example Input:
"http://ws.geonames.org/postalCodeSearch?postalcode=22767&country=DE&maxRows=50"

Example Output:
<?xml version="1.0" encoding="UTF-8" ?>
- <geonames>
<totalResultsCount>4</totalResultsCount>
- <code>
<postalcode>22767</postalcode>
<name>Hamburg</name>
<countryCode>DE</countryCode>
<lat>53.550925</lat>
<lng>9.9425</lng>
</code>
- <code>
<postalcode>22767</postalcode>
<name>Hamburg Ottensen</name>
<countryCode>DE</countryCode>
<lat>53.555</lat>
<lng>9.91806</lng>
</code>
- <code>
<postalcode>22767</postalcode>
<name>Hamburg Sankt Pauli</name>
<countryCode>DE</countryCode>
<lat>53.5511</lat>
<lng>9.97</lng>
</code>
- <code>
<postalcode>22767</postalcode>
<name>Hamburg Altona-Altstadt</name>
<countryCode>DE</countryCode>
<lat>53.5503</lat>
<lng>9.93528</lng>
</code>
</geonames>


*/


"http://ws.geonames.org/postalCodeSearch?postalcode=" &
ZIP & "&country=" & CountryCode & "&maxRows=50"

Note: these examples are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

This is my Web Viewer Example and I want to edit it

digg this page | del.icio.us this page


Newest Web Viewer Examples:

1. Plantfinder
  (Sat, Jun 14, 11:45am)
2. Plant Database eFloras.org
  (Fri, Jun 13, 7:40am)
3. PLANT database USDA
  (Fri, Jun 13, 5:35am)

RSS Feed of Web Viewer Examples

Quick Poll...
Are you mainly Mac
or mainly Windows?
 • Mac
 • Windows
View the answers

ChartMaker Pro 7

Charts and graphs in your FileMaker 5/6/7/8 solution without a plug-in. Click here.

Web Viewer Example Authors:
Link to all of your own Web Viewer Examples on this site with the following URL:
http://www.briandunning.com/filemaker-web-viewer/results.php?author=Your Name Here