I have a field that is a number field and is displayed 20,051,101.00 which is a date 20051101. I need to take just the 5th and 6th char's to be able to sort by Month.
I've tried (ToText(mid({APDISFIL.AP_DIST_DATE},5,2))) but get error "A string is required here" and it highlights {APDISFIL.AP_DIST_DATE}.
I've also tried (ToNumber(mid({APDISFIL.AP_DIST_DATE},5,2))) but get same error msg. I'm assuming it is because the field is a number, because this same formula worked for a string field.
Any help is appreciated.
Gene
I've tried (ToText(mid({APDISFIL.AP_DIST_DATE},5,2))) but get error "A string is required here" and it highlights {APDISFIL.AP_DIST_DATE}.
I've also tried (ToNumber(mid({APDISFIL.AP_DIST_DATE},5,2))) but get same error msg. I'm assuming it is because the field is a number, because this same formula worked for a string field.
Any help is appreciated.
Gene