At 04:18 2014-09-18, Ted Roche <[email protected]> wrote:
... ORDER BY invnum, date

This takes the result set and puts them in order by Invoice number and
within that by date.

     But he wanted it the other way around.  So
          ... order by datecolumnwhosenameisnotareservedword,invnum

 If you're creating a result set for all the clients, perhaps you'd add the
clientnumber as the first of the three arguments.

I do that in my client billing app. He might also want some other orders which deal with invoice lines.

[snip]

Sincerely,

Gene Wirchenko


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to