View Full Version : How to hide a character in a field?


just2cool
06-20-2007, 10:56 PM
I have a field which looks like this - "d123456", I will have to display the field without the "d" in front, meaning I will need to show "123456" Any idea how I can do this? Thanks!

Michael J Ross
06-20-2007, 11:24 PM
If the field is always the same length then use

Right([nameofyourfield],6)

just2cool
06-20-2007, 11:34 PM
Thanks for your reply.
But the number of characters in the field varies. Sometimes it is d123 sometimes it can be d12345, etc.

MStef
06-21-2007, 12:04 AM
Try this:

Right ([FieldName],(Len([FieldName] - 1)))

just2cool
06-21-2007, 12:41 AM
This one worked

Right([Orig],Len([Orig])-1)

Thanks!!