• Shopping Cart Shopping Cart
    0Shopping Cart
Databuzz
  • Home
  • Services
    • FileMaker Development
    • FileMaker Integration
    • FileMaker Web Publishing
    • FileMaker Go for the iPhone and iPad
    • FileMaker Xero Integration
    • FileMaker WooCommerce Integration Specialists
    • FileMaker Shopify Integration Specialists
    • FileMaker DocuSign Integration Specialists
    • FileMaker MYOB AccountRight Integration
    • FileMaker MYOB Essentials Integration Specialists
  • Products
    • fmSMS
    • fmMMS
    • fmAccounting Link (Xero Edition)
    • fmAccounting Link (QuickBooks Online Edition)
    • fmEcommerce Link (WooCommerce Edition)
    • fmEcommerce Link (Shopify Edition)
    • fmESignature Link (Docusign Edition)
    • fmAccounting Link (MYOB AccountRight Edition)
    • fmAccounting Link (MYOB Essentials Edition)
  • Shop
  • Contact
    • Contact Databuzz
    • Support
    • Submit Testimonial
  • About Us
    • About Databuzz
    • Our Clients
    • Testimonials
    • Support
    • Databuzz Newsletter Signup
    • Terms and Conditions
    • Privacy Policy
  • News
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu
Blog - Latest News

Accessing Base Tables in Claris FileMaker 2023

April 28, 2023/3 Comments/in ExecuteSQL, FileMaker Pro 20, News/by Andrew Duncan

With the release of the Claris FileMaker 2023 platform this month it is now even easier to retrieve a list of Base Tables in your FileMaker solution. Claris FileMaker Pro 2023 – also referred to as FileMaker Pro v20.1 – includes a number of new functions that can be used to replace previous methods that used the ExecuteSQL function to query the system tables.

FileMaker Pro 20 introduced the following new functions:

  • GetBaseTableName returns the base table name of a provided field. You can find this function in the Miscellaneous group of functions.
  • BaseTableNames and BaseTableIDs return information about the base tables instead of all table occurrences. You can find these functions in the Design group of functions.

With the BaseTableNames function you can quickly generate a list of all base table names in specified file. For example:

BaseTableNames ( "" )

returns a list of base tables in the current file. An example of the result when using our fmSMS solution is a simple list of all the base tables for the file:

Accounts
BulkSessions
Contacts
CountryCodes
DeliveryReceipts
GatewayCodes
Gateways
Interface
MergeFields
Messages
Navigation
Replies
Senders
ServerSideErrors
Templates
Webhooks

The important point to note is that the BaseTableNames function returns the same list regardless of the table occurrences on the relationship graph. If you delete every table occurrence on the graph:

you will still get a list of all the tables that appear on the Tables tab of the Manage Database dialog box:

This is a big improvement over previous methods that used the ExecuteSQL function to query the system tables which relied on the table occurrences on the relationship graph for the results. Furthermore if you used the new query syntax introduced with FileMaker Pro 19.4.1:

ExecuteSQL ( "SELECT DISTINCT BaseTableName FROM FileMaker_BaseTableFields" ; "" ; "" )

any tables that had no defined fields would not be included in the results. The BaseTableNames function returns all the base table names regardless of the relationship graph or number of fields defined for each table, a big improvement over the the ExecuteSQL query method.

Claris have also made some changes to the ExecuteSQL query options in FileMaker Pro v20.1 as well – using the ExecuteSQL function you can now access a FileMaker_BaseTables system table. The new schema contains the following fields:

  • BaseTableName – the table name
  • BaseTableId – the table ID
  • Source – the source (<internal>, MYSQL, etc.)
  • ModCount – the number of times the table has been modified

For example the following query:

ExecuteSQL ( "SELECT * FROM FileMaker_BaseTables" ; "" ; "" )

returns the following:

Accounts,143,<Internal>,51
BulkSessions,132,<Internal>,24
Contacts,130,<Internal>,32
CountryCodes,133,<Internal>,3
DeliveryReceipts,134,<Internal>,22
GatewayCodes,144,<Internal>,8
Gateways,135,<Internal>,71
Interface,136,<Internal>,16
MergeFields,137,<Internal>,3
Messages,141,<Internal>,52
Navigation,145,<Internal>,10
Replies,139,<Internal>,28
Senders,140,<Internal>,8
ServerSideErrors,146,<Internal>,6
Templates,142,<Internal>,8
Webhooks,147,<Internal>,11

If you’re just after the Base Table Name you can use the following query:

ExecuteSQL ( "SELECT  BaseTableName FROM FileMaker_BaseTables" ; "" ; "" )

which returns the same results as the BaseTableNames function.

You can get more information on querying the FileMaker System Tables in earlier versions of FileMaker Pro in our earlier posts on this topic:

  • Using ExecuteSQL to Query the Virtual Schema/System Tables
  • Changes to Querying the FileMaker System Tables in FileMaker Pro 19.4.1
Share this entry
  • Share on Facebook
  • Share on X
  • Share on WhatsApp
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Tumblr
  • Share on Vk
  • Share on Reddit
  • Share by Mail
https://www.databuzz.com.au/wp-content/uploads/2014/07/databuzz-logo-small-300x88.png 0 0 Andrew Duncan https://www.databuzz.com.au/wp-content/uploads/2014/07/databuzz-logo-small-300x88.png Andrew Duncan2023-04-28 15:48:052023-04-28 21:01:37Accessing Base Tables in Claris FileMaker 2023
3 replies
  1. Daniel Wood
    Daniel Wood says:
    May 1, 2023 at 9:21 am

    Thanks for this info Andrew, it’s so nice to have this function. The old method of obtaining via FileMakerTables would get so slow as the number of TO’s in a solution increased, this is much faster.

Trackbacks & Pingbacks

  1. Using ExecuteSQL to Query the Virtual Schema/System Tables – Databuzz says:
    April 28, 2023 at 9:10 pm

    […] Update for Claris FileMaker Pro 20 (2023) – FileMaker Pro v20 includes new functions that return information about the base tables instead of all table occurrences making it much easier get a list of base tables. Details can be found in this article. […]

  2. Changes to Querying the FileMaker System Tables in FileMaker Pro 19.4.1 – Databuzz says:
    April 28, 2023 at 9:10 pm

    […] Update for Claris FileMaker Pro 20 (2023) – FileMaker Pro v20 includes new functions that return information about the base tables instead of all table occurrences making it much easier get a list of base tables. Details can be found in this article. […]

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

Latest News

  • Databuzz releases fmESignature Link (Docusign Edition) v2 – Integrate the Claris FileMaker Platform with DocusignJune 9, 2026 - 6:00 am

    Databuzz today announced fmESignature Link (Docusign Edition) v2, a major update to their FileMaker solution that integrates with the Docusign eSignature platform. fmESignature Link (Docusign Edition) is a FileMaker solution that integrates between the Claris FileMaker Platform and Docusign. Docusign is one of the most popular electronic signature platforms and helps organisations connect and automate […]

  • Changes to the Xero Developer PricingMarch 24, 2026 - 8:24 pm

    In December 2025 Xero announced that they were making changes to their pricing and policies for the  Xero Developer Platform, including moving to a new usage-based pricing effective March 2, 2026. New apps created in the Xero Developer portal will default to the free Starter tier and existing apps will be migrated starting mid March, […]

  • Tickets for Reconnect.Christchurch 2026 Now AvailableMarch 16, 2026 - 8:20 am

    The Reconnect Claris FileMaker Developer conference is back again in 2026 and this year we’re heading outside of Australia to Christchurch, New Zealand. The conference will be held in the Christchurch Town Hall, located on the banks of the Avon River in central Christchurch on 15-16 October, 2026. Tickets for the conference are on sale […]

  • Updating DocuSign Envelope Templates from FileMakerDecember 18, 2025 - 9:28 am

    When we first released our fmESignature Link (DocuSign Edition) solution we included support for working with DocuSign Templates. DocuSign Templates are perfect for almost any Docusign workflow that you do over and over again, for example sending the same document/s to different recipients such as non-disclosure agreements and rental agreements. DocuSign Templates allow you to […]

  • Databuzz 2025 End of Year Xmas Sale – 20% Off All LicensesDecember 15, 2025 - 10:46 am

    The Databuzz End of Year Xmas Sale is now on. We only have one sale each year and for the next 2 weeks you can save 20% on all Product Licenses including: Use the coupon XMAS2025 at checkout on any purchase and the 20% discount will be applied to your order (excludes Maintenance products). The sale runs until the end of the day on […]

Newsletter Signup

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

X Logo X Logo Followon X RSS Feed Logo RSS Feed Logo Subscribeto RSS Feed

Latest News

  • Databuzz releases fmESignature Link (Docusign Edition) v2 – Integrate the Claris FileMaker Platform with DocusignJune 9, 2026 - 6:00 am

Newsletter Signup

© Copyright Splash IT Consulting Pty Ltd T/A Databuzz | ABN 31 116 889 028
  • Link to X
  • Link to Facebook
  • Link to Rss this site
  • Home
  • Services
  • Products
  • Shop
  • Contact
  • About Us
  • News
Link to: fmMMS Now Supports Tall Bob MMS Gateway Link to: fmMMS Now Supports Tall Bob MMS Gateway fmMMS Now Supports Tall Bob MMS Gateway Link to: FileMaker 2023 Platform Compatibility Update Link to: FileMaker 2023 Platform Compatibility Update FileMaker 2023 Platform Compatibility Update
Scroll to top Scroll to top Scroll to top