JunglesMcBeef
Programmer
- Sep 18, 2003
- 266
G'day,
I have a slight problem. I have some records in a table with a field that stores numbers. Some of the records do not have an entry in that field and I have left them blank. However, when I run a query and sort the number column ascendingly, the records with the blank value are above the ones with actual values in them.
eg.
This is what I get This is what I want
-------------------- --------------------
(blank) 1
(blank) 2
(blank) 3
1 4
2 5
3 6
4 7
5 8
6 9
7 10
8 (blank)
9 (blank)
10 (blank)
The problem for me is that it is part of a query and I would prefer it if I didn't have to write some code to do it, I am trying to keep my UI as simple as possible.
I have a slight problem. I have some records in a table with a field that stores numbers. Some of the records do not have an entry in that field and I have left them blank. However, when I run a query and sort the number column ascendingly, the records with the blank value are above the ones with actual values in them.
eg.
This is what I get This is what I want
-------------------- --------------------
(blank) 1
(blank) 2
(blank) 3
1 4
2 5
3 6
4 7
5 8
6 9
7 10
8 (blank)
9 (blank)
10 (blank)
The problem for me is that it is part of a query and I would prefer it if I didn't have to write some code to do it, I am trying to keep my UI as simple as possible.