Thank you for your reply. I am receiving an error message when I enter
split(split([yourfieldname],"#")(1),"/")(0). The error is "The expression
you entered has an invalid .(dot) or ! operator or invalid parentheses." The
open partheses before the 1 is then highlighted. Any idea?
Albert D.Kallal said:
Jpacheco said:
It does not always start at the same place in the field but it will always
follow the # char.
There should always be the / char at the end.
It is not always a fixed length. It will vary from 3 to 6 characters.
Ok, now that we got the details. The follwing expression in a query builder
will return the number
Mynum:split(split([yourfieldname],"#")(1),"/")(0)
So, you can use the above in reprots etc.
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
[email protected]
http://www.members.shaw.ca/AlbertKallal