I imdl Registered User. Local time Today, 15:11 Joined Feb 2, 2010 Messages 27 Apr 7, 2010 #1 hi, i have a query with Trace Number in "ascending" order. when i use the code DoCmd.TransferSpreadsheet acExport, the output Excel data are NOT in ascending order by Trace Number. Why is it so? please see attached output Excel fie. imdl Attachments PC3 Trace Form.xls PC3 Trace Form.xls 107 KB · Views: 208
hi, i have a query with Trace Number in "ascending" order. when i use the code DoCmd.TransferSpreadsheet acExport, the output Excel data are NOT in ascending order by Trace Number. Why is it so? please see attached output Excel fie. imdl
V vbaInet AWF VIP Local time Today, 23:11 Joined Jan 22, 2010 Messages 26,328 Apr 7, 2010 #2 Just a few questions: 1. How many tables are you pulling data from? 2. Do your tables have Primary keys? 3. Could you show us your query
Just a few questions: 1. How many tables are you pulling data from? 2. Do your tables have Primary keys? 3. Could you show us your query
I imdl Registered User. Local time Today, 15:11 Joined Feb 2, 2010 Messages 27 Apr 7, 2010 #3 thanks for your prompt reply. i've attached pictures of the query in datasheet and design view. please help. imdl Attachments Doc1.doc Doc1.doc 76 KB · Views: 257
thanks for your prompt reply. i've attached pictures of the query in datasheet and design view. please help. imdl
V vbaInet AWF VIP Local time Today, 23:11 Joined Jan 22, 2010 Messages 26,328 Apr 7, 2010 #4 What you've done is Sort the results in the Datasheet view of the query but not in the query using ASC. You need to go back to the design view, on the row called SORT select ASCENDING under your Trace Number field.
What you've done is Sort the results in the Datasheet view of the query but not in the query using ASC. You need to go back to the design view, on the row called SORT select ASCENDING under your Trace Number field.
I imdl Registered User. Local time Today, 15:11 Joined Feb 2, 2010 Messages 27 Apr 11, 2010 #5 thanks a lot