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

Not getting the correct query results....

Featured Replies

Hi,

I'm currently querying our database and I having a hard time understanding as to why I am not getting the correct results in my find query. When i do the query in FileMaker, I get the right results however when I make the same query with an HTTP request, I get the wrong results. I can't understand what is wrong?

What I am querying is a layout that has a person's classes, the fields that I am searching againsts is their StudentID (indexed text field) and one unstored text calculated field. Again performing the query within FileMaker gives me the right results. On the other hand, HTTP Request gives me wrong values.

Below is the HTTP request

fmi/xml/fmresultset.xml?-db=WebData&-lay=myclasses&StudentID.op=eq&StudentID=12345&WebAvailFlag.op=eq&WebAvailFlag=true&-find

StudentID is an indexed text field and WebAvailFlag is a unstored calculated text field.

The results that I am getting from the XML is more than what FileMaker would give me if I performed it within FileMaker. The wrong results are records that have a value of false in the WebAvailFlag when I am searching for true.

Any advice would be so greatly appreciated as this is driving me nuts.

Thanks.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.