This is what I'm trying to accomplish.
1.> Run this query.
2.> SORT in decending order.
3.> Select only the TOP 20 records in the sorted table to be used in additional calculating queries?
H. E. L. P!
Thanks much . . . Rick
q=
Query
ANSWER: RIV:AnswerTopOffices.DB
Coastal.DB | SalePrice | ListName |
| CALC SUM ALL AS SalePrice | Check |
EndQuery
if not q.executeQbe()then
errorShow()
return
endif
If Not tc.open("RIV:AnswerTopOffices") then
errorShow()
Return
endIf
Sort "AnswerTopOffices.db"
ON "SalePrice" D
EndSort
1.> Run this query.
2.> SORT in decending order.
3.> Select only the TOP 20 records in the sorted table to be used in additional calculating queries?
H. E. L. P!
Thanks much . . . Rick
q=
Query
ANSWER: RIV:AnswerTopOffices.DB
Coastal.DB | SalePrice | ListName |
| CALC SUM ALL AS SalePrice | Check |
EndQuery
if not q.executeQbe()then
errorShow()
return
endif
If Not tc.open("RIV:AnswerTopOffices") then
errorShow()
Return
endIf
Sort "AnswerTopOffices.db"
ON "SalePrice" D
EndSort