Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

Buy Support
Incidents

If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:

Click Here
If you can't login and post questions or you are having trouble viewing forum posts:
Click Here
Callback
Support

If you live in USA, UK, Canada, Australia or New Zealand, you can leave us details on your question and request us to call you back and discuss them with you personally  (charges apply).

Click Here
 
Buy Support
Incidents
If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:
Click Here

Forum : List Sort OrderSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC v9 Forum

 New Topic 
 
 Post Reply 
[1]  
 List Sort Order 
 Author   Message 
  Jeanne 
  
 Group: Members 
 Posts: 2 
 Joined: 2008-10-04 
 Profile
 Posted : 2008-11-23 03:29:16

Where can I find the sort order or index of the lists (for example, chart of accounts) so my reports based on exported information will print in the order they appear in the QB Lists.

Thank you!

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-11-23 17:49:15

You can sort the list any way you like using a ORDER BY clause, for example:

SELECT * from Account Order by AccountType

SELECT * from Account Order by AccountNumber

SELECT * from Account Order by FullName

 

 

  Top 
  Jeanne 
  
 Group: Members 
 Posts: 2 
 Joined: 2008-10-04 
 Profile
 Posted : 2008-11-25 01:20:20

Thanks.  I was actually looking for the sort order that is maintained in QB.  For example when you open a list, you can move the items around to place them in the order you want to see them on your reports.  The order is maintained when you generate the reports.

When I pull the data out via SQL, I have not found a way to print them in the same order they have in the list view in QB.  They will print either alphabetically or in an order specified by the sql statement as you have shown below.

For Example if my chart of accounts lists expenses for Salaries & Wages, Employee Benefits then Travel.  I want them to print out in that order.  I thought the straight output from SQL might have them in the order I see them in the List view in QB, but it brings them out in order entered.

I was looking for some sort of index that might be used to maintain the sort order in the List View of the accounts.  Thanks for your help!

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-11-25 16:31:48
QODBC doesn't know your memorized reports. Most users end up setting an Account Number sequence to suit their particular needs. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to