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.

Strange FMP result to SQL request

Featured Replies

Hi there !

I found something very disturbing while trying to access my data through an SQL request.

The request was built the following ways :

Select * FROM Formation WHERE (status = 'student' and university = 'Oxford' and grade = 'first')

or

Select * FROM Formation WHERE ((status = 'student') and (university = 'Oxford') and (grade = 'first'))

even

Select * FROM Formation WHERE (status = 'student') and (university = 'Oxford') and grade = ('first')

Everytime, FileMaker just did a search based on the last part of the where request (for instance here : grade = 'first'), the results did come right, based on the status and university field also, but everytime I took a look in FMP the search always happened on the last field.

This is quite a problem to me, as when retrieving over 500 records, the ODBC driver takes a long time to bring back the result set.

Most of the time, the SQL request shouldn't generate more than 50 records found in FMP, but I always have numbers according to the search on only one of my select field.

Anyone ever had this problem before ?

Is my SQL request bad ?

Thx in advance,

Jerry

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.