473,395 Members | 1,495 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

remove letter only from a field

266 256MB
i have a field where the first character is a letter and the rest of the field in numeric. i would like to remove that first letter from the field, if possible... thanks!
Jul 8 '09 #1
3 2701
missinglinq
3,532 Expert 2GB
The general expression would be

Me.NumbersOnly = Right(YourField,Len(YourField)-1)

or as a calculated field in a query

NumbersOnly:Right([YourField],Len([YourField])-1)

Linq ;0)>
Jul 8 '09 #2
ADezii
8,834 Expert 8TB
@missinglinq
Hello linq, still forgetting about the Olde Mid() Function, heh?
Expand|Select|Wrap|Line Numbers
  1. Mid([YourField],2)
Jul 8 '09 #3
didacticone
266 256MB
thanks for your help, but stupid question here... how would i use those functions? update query? or something else? thanks!
Jul 8 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: George Thompson | last post by:
How can I retrieve the first letter of data in a field within access? (using access 2k?) is this a VB thing or is there an obvious solution?
1
by: Marc Verdonck | last post by:
First: I have some troubles in access, some fields needs to begin with a Capital letter. Example: louiselaan need to be Louiselaan. How can I become this? Second: I'm exporting my database to...
1
by: Jackson M via AccessMonster.com | last post by:
I have buttons name A thur Z - When I select say the letter "H" button I need my ProductName field to jump to the record that starts with the letter "H" and soforth. Can anyone help -- This...
6
by: nycjay | last post by:
I am tring to clean up data in some of our fields. The requirement is to only have letter (a-z,A-Z) and number (0-9) characters in the field... So, if we select from the non-cleaned-up field, we...
0
Tog
by: Tog | last post by:
Hello all. here is a little conundrum for you to get your teeth into. I am creating a csv file from an access database. The code I use is below and it works well .. except for one small...
9
by: Smiley | last post by:
Hi, Can someone tell me how to remove aspostophe (') from user input. I don't want to give any error message. Just want to remove or change it to "" or null, such input when it appear anywhere...
9
by: Ulterior | last post by:
Hi, everyone, I have a simple problem, which bothers me for some while. I will try to explain it - There is some string, whith different letters in it. Is it possible to analyse this string...
2
by: shapper | last post by:
Hello, I am trying to remove the last letter from a string: names.Remove(names.Remove(names.Length - 1, 1)) I get index out of range. What am I doing wrong? Thanks, Miguel
0
by: raj3109 | last post by:
Hi experts, I’d like to have some helps from you guys. I need to create an app with C# and Crystal Report.Net using VS 2008 for a Landscape & Nursery company. The company will send out coupon...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.