Jump 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.

Featured Replies

I've been working on optimizing a complex part of a solution that relied on the List() function to send multiple parameters to a custom function. Through my research I came across this article:

 

http://www.teamdf.com/weetbicks/the-search-for-fast-aggregates--trial--error/99/

 

This article discusses the fact that when you use List(), Sum() or other aggregate functions, FileMaker sends the entire record set to the client, not just the data from the requested field(s). 

 

Does anyone know if this is also the case with ExecuteSQL()? I would assume that an SQL query would only return the requested data, but I'd like to know if this is definitely happening or not.

Solved by David Jondreau

Go to solution

Hi,

 

For you question regarding the SQL result in filemaker. Your assumption is correct.

The ExecuteSQL function would only return the list of values for the fields requested in its query.

 

 

Regards

Priyabrata Sahoo

Mindfire Solutions, India

"FileMaker sends the entire record set to the client, not just the data from the requested field(s). "

 

wow.  then ExecuteSQL would be faster because it would have far less to download I think.  Another plus for SQL. 

  • Author

Indeed. That was my hope! Thanks for the clarification, Priyabrata.

  • Solution

I don't think the answer given is correct. Or is, at least, being misinterpreted.

 

In general, if FileMaker is getting the value from a field of one record, it is getting all the data for that record, there are some exceptions (container fields), but those exceptions are not based on the function used to access the record. ExecuteSQL() is no different than List() in this regard.

 

If you run some tests and find out differently, I'd be very interested in knowing.

Hi David,

 

You are correct mate, I only clarified that the ExecuteSQL() works as they wanted. The list also works the same and i didn't deny it.

So i think we both are right.

 

Thanks

Create an account or sign in to comment

Important Information

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

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.