Hi,
I have a field Batch Ticket number data type Text.
Exp
BTNumber 12345R : R Stands for Rework
If I want to separate 12345 and R .which function should I
use:
Any alternate Solution much appreciated
Thanks
Some combination of InStr, InStrRev, Right and Mid, depending on the actual
problem. Since you only posted one example and no information that would let
us determine the actual scope of the problem, it's hard to be more specific.
For instance: do only some ticket numbers end in R? (I'm guessing so but it's
not clear). Do all records contain the initial text string "BTNumber "? Might
they contain other strings? Is the number always five digits or might there be
other text? Will the number and the R always be in the last part of the
string?
--
John W. Vinson [MVP]
Microsoft's replacements for these newsgroups:
http://social.msdn.microsoft.com/Forums/en-US/accessdev/
http://social.answers.microsoft.com/Forums/en-US/addbuz/
and see also
http://www.utteraccess.com