RE: Report in Certain Order
- From: OssieMac <OssieMac@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 30 Sep 2008 00:17:00 -0700
I should have also said that the virtual field needs to be to the left of the
real field that has both both numeric and text. This is so the numeric sort
becomes the primary sort. You will also need to have the text and numbers
field sort set to ascending so that it becomes the secondary sort otherwise
your alpha characters may not be in order.
--
Regards,
OssieMac
"OssieMac" wrote:
Create a virtual field in the report query as Val([YourField]).
Set sort for this field to Ascending.
Val function reads the text up to last numeric and creates a real number so
your sort works as required.
Don't know how much instruction you need but get back to me if you need more
info to do this.
--
Regards,
OssieMac
"Roger Bell" wrote:
I have a Report that is sorted on Plot Numbers which is a Text Field and
includes Entries like 1A, 1B, 2A, 2B etc.
The problem is that when I run the Report the entries list as 10A, 10B, then
down the list is 1A etc. I would like the report to list 1A, 1B, 2A, 2B, 3A,
3B etc in that order.
Is there any way I can achieve this?
Thanks for any help
- Follow-Ups:
- RE: Report in Certain Order
- From: Roger Bell
- RE: Report in Certain Order
- References:
- Report in Certain Order
- From: Roger Bell
- RE: Report in Certain Order
- From: OssieMac
- Report in Certain Order
- Prev by Date: RE: Report in Certain Order
- Next by Date: RE: Report in Certain Order
- Previous by thread: RE: Report in Certain Order
- Next by thread: RE: Report in Certain Order
- Index(es):
Relevant Pages
|