Dani R Posted June 2, 2011 Posted June 2, 2011 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
wonfuji Posted June 2, 2011 Posted June 2, 2011 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
comment Posted June 2, 2011 Posted June 2, 2011 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
bcooney Posted June 2, 2011 Posted June 2, 2011 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now