-Queue- Posted May 7, 2004 Posted May 7, 2004 In one field in one record, a field in a series of records, multiple fields? Please be much more specific.
jrb12 Posted May 7, 2004 Posted May 7, 2004 FMPNewBie, if by median you mean the mid-value in a list of ordered values. And your values are in a specific field in a found set of records. You could sort the records on the field in question and use the Status(CurrentFoundCount) function to retrieve the size of your list. Then pick out the mid-value using the Go to Record/Request/Page["Field Name"] script step. Where the "Field Name" field is a global containing Status(CurrentFoundCount) divided by 2. If the found set length is an even number, you need to average this mid-value with the field value in the subsequent record. Rather a course decription, I'm afraid but hope it can be of some help. Cheers, John.
Tripod Posted May 7, 2004 Posted May 7, 2004 This is correct. Mdn is a PITA to calc, but this is indeed the correct way to do it. Middle value and such, this is the most direct way to do it, unfortunately. I know someone who used this as an excuse to move a project into access. Can you imagine? Of course, she could not even run a script, but she loves access. Glutton for punishment, I guess... --Tripod
Recommended Posts
This topic is 7574 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