H
Hugh self taught
Hi Guys & Gals,
I have a text field which is currently only either numbers or "empty"
however the data could change in the future to become alphameric. So now I
want to make the sort such that it sorts the field based on the value of the
data & if the field is "empty" then on the name field.
I've gleaned this piece of code here in the forums but I don't know how to
include the sort by name field when the "sort" field value is 0.
IIf([CombinedCpl.CombinedCplNo] Like
"[!0-9]*",Val(Mid([CombinedCpl.CombinedCplNo],2)),Val([CombinedCpl.CombinedCplNo] & ""))
Could someone be so kind as to help me with this
I have a text field which is currently only either numbers or "empty"
however the data could change in the future to become alphameric. So now I
want to make the sort such that it sorts the field based on the value of the
data & if the field is "empty" then on the name field.
I've gleaned this piece of code here in the forums but I don't know how to
include the sort by name field when the "sort" field value is 0.
IIf([CombinedCpl.CombinedCplNo] Like
"[!0-9]*",Val(Mid([CombinedCpl.CombinedCplNo],2)),Val([CombinedCpl.CombinedCplNo] & ""))
Could someone be so kind as to help me with this