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.

SQL function...

Featured Replies

Wouldn't be nice if FM provided a SQL function to fetch some data as a csv formatted list.

Example :

SQLCommand ("SELECT a, b, c FROM myTable WHERE myTable::a = 1"; mySeparator)

Would return a list looking like this :

col_a;col_b_;col_c¶

col_a;col_b_;col_c¶

col_a;col_b_;col_c¶

...

Why would this need to be a SQL function? I believe you can get the described result using a custom function.

  • Author

How to do this using SQL?

Edited by Guest

How to do this using SQL?

I didn't say do this using SQL. I said you can do this using a Filemaker custom function, for example:

http://www.briandunning.com/cf/309

  • Author

Thanks, the function is very interesting! But still, the SQL function is more universal and allows conditionnal expression.

You can add a condition to the custom function, if you like. In any case, Filemaker is not a SQL database, and there would be little sense in trying to make it respond to SQL commands (though I believe there is a plugin that does that).

  • Author

I know it's possible using ODBC connection, but it's not embedded in FM.

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.