FreeriderUK
Well-known member
Hi all,
I have a customer report I want to generate. I have a field for each customer called "sequence" in which I put a number (although some customers will have this field blank)
Using the SQL ORDER BY statement, how can I get the report to sort by "sequence" first, then have those without this value afterwards?
What I'm getting (understandably) is:
But I want this:
I'm sure I have done this before - maybe in Access report, but can't remember how.
Any ideas?
I have a customer report I want to generate. I have a field for each customer called "sequence" in which I put a number (although some customers will have this field blank)
Using the SQL ORDER BY statement, how can I get the report to sort by "sequence" first, then have those without this value afterwards?
What I'm getting (understandably) is:
VB.NET:
ORDER BY Sequence, Address
AAA -
BBB -
CCC -
FFF - 1
EEE - 2
But I want this:
VB.NET:
FFF - 1
EEE - 2
AAA -
BBB -
CCC -
I'm sure I have done this before - maybe in Access report, but can't remember how.
Any ideas?