Extract part of a string

JPR

Registered User.
Local time
Yesterday, 22:19
Joined
Jan 23, 2009
Messages
201
Hello,

I have a table with a filed named CustomerFileNo which is made of 10 digits plus one or two characters which identify the customer.
ex:
0000000000A
0000000000BB

I was trying to create a new field that only shows any digit or character after the 10th digit but can't get it working:

ex:
A
BB

I have created a textbox with the following code in the Control source:

Thank you for any help on this.
Code:
=RIGHT([C/N],,2)
 
Remove one of the commas
=RIGHT([C/N],2)

Recommend you don't use special characters such as '/' in field or control names
 
=Mid([C/N], 11)
 
I agree Mid is the right answer. Forgot about the first example
 

Users who are viewing this thread

Back
Top Bottom