M
Martin
Hello,
I have a query which takes the right side of an alpha numeric unique
reference number. Here is the function I am trying to perform:
Right: IIf([Len]=7,Format(Right([tbl Details]![Ref
No],1),"Standard"),IIf([Len]=8,Format(Right([tbl Details]![Ref
No],2),"Standard"),IIf([Len]=9,Format(Right([tbl Details]![Ref
No],3),"Standard"),IIf([Len]=10,Format(Right([tbl Details]![Ref
No],4),"Standard"),""))))
It wll works fine except the format is ignored and it is still in text only
looking in a standard format. This is important because I have another query
finding the max of this query and as it is in a non numeric format the max
function does not work. Can anyone help?
Thank you.
Martin
I have a query which takes the right side of an alpha numeric unique
reference number. Here is the function I am trying to perform:
Right: IIf([Len]=7,Format(Right([tbl Details]![Ref
No],1),"Standard"),IIf([Len]=8,Format(Right([tbl Details]![Ref
No],2),"Standard"),IIf([Len]=9,Format(Right([tbl Details]![Ref
No],3),"Standard"),IIf([Len]=10,Format(Right([tbl Details]![Ref
No],4),"Standard"),""))))
It wll works fine except the format is ignored and it is still in text only
looking in a standard format. This is important because I have another query
finding the max of this query and as it is in a non numeric format the max
function does not work. Can anyone help?
Thank you.
Martin