G
Guest
I have searched for this and have not found a solution. I am sorry if this is
a double post. I am trying to group a report using the first 1 or 2 numbers
in a field. The field [CMG] can be 3 or 4 digits. If it is 3, I want the
first digit, 4, the first 2 digits..
I am working with 2000 Ver. The code I have so far is as follows
=IIf(Len([CMG])>3,Left([CMG],2),Left([CMG],1))
This returns a value but when I place it in the report group header, the
order is all over the place..
Thanks for any help you can give....
a double post. I am trying to group a report using the first 1 or 2 numbers
in a field. The field [CMG] can be 3 or 4 digits. If it is 3, I want the
first digit, 4, the first 2 digits..
I am working with 2000 Ver. The code I have so far is as follows
=IIf(Len([CMG])>3,Left([CMG],2),Left([CMG],1))
This returns a value but when I place it in the report group header, the
order is all over the place..
Thanks for any help you can give....