Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

This is freaking me out  - a little.

 

 I have a SQL ESS View with 15 fields in it. When I do a find in that table, it produces bizarre, wrong results.  For example if i do a CTRL + F find, and type "5" into a field, it produces multiple records where that value is something other than 5. Has anyone encountered this before?

 

I thought it might be an indexing problem, but I confirmed that the field I am using as an index does contain only unique values. The index field is a row number that gets assigned in the SQL query that produces the view. Is that an issue?
 

Any thoughts are appreciated.

Posted

Thanks, Trey. It's a number. (int) 

 

After boldly declaring that my key field was unique, of course it turned out not to be. Something about the way the joins were put together in the SQL query created a situation where in some odd cases duplicate values could be returned. I added a row_number to the view to guarantee a unique key.

 

If nothing else, I sure learned some SQL this week! 

This topic is 4117 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.