L
Len
I have never used MAX before and I cannot find an example of what I am doing
wrong.
Here is the code:
Set rstFederalClass = db.OpenRecordset("SELECT * MAX(TotPotPlyrs) FROM
FederalClass ORDER BY ST")
I also tried:
Set rstFederalClass = db.OpenRecordset("SELECT MAX(TotPotPlyrs), * FROM
FederalClass ORDER BY ST").
I need all of the fields in the record that is the maximum amount, but I do
not know where to put the asterisk (*).
Thanks in Advance
Len
wrong.
Here is the code:
Set rstFederalClass = db.OpenRecordset("SELECT * MAX(TotPotPlyrs) FROM
FederalClass ORDER BY ST")
I also tried:
Set rstFederalClass = db.OpenRecordset("SELECT MAX(TotPotPlyrs), * FROM
FederalClass ORDER BY ST").
I need all of the fields in the record that is the maximum amount, but I do
not know where to put the asterisk (*).
Thanks in Advance
Len