• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 135
  • Last Modified:

sort export information

Hi, I'm exporting some data from a microsoft access database into an excel spreadsheet.  I'm trying to sort the information I'm exporting first by the "CCy" field and then by the "Instr" field.  The code I've tried is below and does not seem to provide what I'm looking for. Can you help pls ?

Sql = Sql & "ORDER BY (QuDailyPLFinal.CCy) And (QuDailyPLFinal.Instr) "

tks
0
f19l
Asked:
f19l
1 Solution
 
jpaulinoCommented:
try

Sql = Sql & "ORDER BY (QuDailyPLFinal.CCy),(QuDailyPLFinal.Instr) "
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now