MalcolmW,
Yes, I do care about which 10 are picked, and I have looked at Top N feature, I could be wrong but it seems that CR TopN feature needs user intervention, which I am trying to avoid.
Currently, My SQL data is queried and “preformatted” by MS Access, i.e., grouped, sorted and the TopN is picked, etc. Then I pull that MS Access “preformatted” data into VB/CR8 to generate my reports. The main reason I am using MS Access is because of the ease of picking TopN through it. I can make direct calls to the SQL Server, but I do not know how to limit my query to TopN using SQL command.
I like to skip MS Access and make direct calls to SQL Server using VB code. Eventhough, I am yet to have a “Total Code Solution,” Ossama Gharib has posted a great solution for my need, That solution will greatly simplify my work for now. But, if you have a VB (code) or a query solution for the TopN query, please do help me out.
Thank you for your response!
Ossama Gharib,
Thank you for your response. As I have noted to MalcolmW, that solution you have posted will greatly simplify my work for now. Once again, I do appreciate your help – very much!
fh [sig][/sig]