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

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

Recommended Posts

Posted

Hi

i have a sql connected to filemaker .

in the table i what to run ש script the will give mק the largest number in a field .

the problem is that i can not add a summery file to the table.

how can i do it?

Thank You Dani

Posted

Dani

You might sort descending by that number field and go to first record.

You might create a cartesian self-join on the table and create a Max(table_TABLE||x|::number) calc to return max value. (Not certain if that would work to an SQL table).

You could script it: (pseudocode)

Show All

Go First Record

Loop

SetVariable($Max; Case($Max<YourNumberField; YourNumberField; $Max))

GoToNextRecord (Exit After Last)

End Loop

Stephen

Posted

the problem is that i can not add a summery file to the table.

See if this helps:

http://www.filemaker.com/11help/html/odbc_ess.20.9.html#1027889

Posted

You can add supplemental fields to an ESS, as comment points out, however, what is your goal? I hope that you're not trying to calc a serial ID.

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