F
Fredrated
Here is a problem I am soliciting solutions to:
I have a list of records, each record has an id field and a value field, and
I want the id of the record with the smallest value in the value field.
ex.:
id value
1 25
2 13
3 179
Is there an easy way to construct a query that returns id=2?
If I try to use a 'totals' query and use the Min function on the value
field, I have no 'aggregate function' to include the id in so that only 1
record is returned.
The origin of the problem is how to extract the 'next meeting day' from a
list of meetings, where the 'next meeting day' is the first meeting (record)
whose meeting day is today or after today.
Thanks for any help.
Fred
I have a list of records, each record has an id field and a value field, and
I want the id of the record with the smallest value in the value field.
ex.:
id value
1 25
2 13
3 179
Is there an easy way to construct a query that returns id=2?
If I try to use a 'totals' query and use the Min function on the value
field, I have no 'aggregate function' to include the id in so that only 1
record is returned.
The origin of the problem is how to extract the 'next meeting day' from a
list of meetings, where the 'next meeting day' is the first meeting (record)
whose meeting day is today or after today.
Thanks for any help.
Fred