Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Not getting the correct query results....


This topic is 7282 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

This topic is 7282 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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