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 queries in FMP 10 advanced

Featured Replies

Greetings,

I have a sql query I want to run... but I think some of the clauses in it are not available in Filemaker's Query builder, which only has SELECT WHERE ORDERBY. Can I type in the query manually to get this to work, or will only those three clauses work? Or is there another way to request a SQL query that I don't know about?

You can create a calculation and call that. I just don't use the "builder", it is limiting. :

  • Author

I think I tried that, and Filemaker acted like it didn't know the functions.

select count(orderno) as number_orders, custnum into #temp from cms group by custnum

select * from #temp where number_orders=1

select * from cust where custnum in (select custnum from #temp where number_orders=1)

This Query would work if I went directly to the SQL server and ran it... but I am trying to avoid interacting with the server, other than using FMP....

I think the problem is, this particular query would return a lot of results.. I wonder how I could do this in FMP... since the calculated field is built for one result...

Any Ideas?

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.