473,399 Members | 3,888 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,399 software developers and data experts.

Access - Dashes in a number (dhl)

(dhl) Using Access 2K. I have a ISBN number that is 10 char long and
has dashes somewhere in the number. I need to remove the dashes and
just leave the numbers. Is there any way of doing this? Thank you
for your help. David
Nov 13 '05 #1
4 1760
On 16 Sep 2004 12:05:19 -0700, David wrote:
(dhl) Using Access 2K. I have a ISBN number that is 10 char long and
has dashes somewhere in the number. I need to remove the dashes and
just leave the numbers. Is there any way of doing this? Thank you
for your help. David


Use the replace() function
NewField:Replace([OldField],"-","")
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
Nov 13 '05 #2
Using Fred's suggestion in an Update query is definately the way to go, but
you may run into difficulty using Replace() in a query in Access 2000.

If you do, see:
http://support.microsoft.com/?id=225956

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"fredg" <fg******@example.invalid> wrote in message
news:27******************************@40tude.net.. .
On 16 Sep 2004 12:05:19 -0700, David wrote:
(dhl) Using Access 2K. I have a ISBN number that is 10 char long and
has dashes somewhere in the number. I need to remove the dashes and
just leave the numbers. Is there any way of doing this? Thank you
for your help. David


Use the replace() function
NewField:Replace([OldField],"-","")
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.

Nov 13 '05 #3
It's amazing. String manipulation must be a lost art. Even the most
well programmed sites do not allow dashes or spaces in your credit
card number because they don't know how to parse them out.
Maybe students should be required to learn it before being
awarded they're under grad.
Hank Reed
Nov 13 '05 #4
Computer Science students are. The problem is that Access and Excel tend to
attract people developing things who have neither CS training nor prior
desire to pick up techniques....
--
MichKa [MS]
NLS Collation/Locale/Keyboard Development
Globalization Infrastructure and Font Technologies
Windows International Division

This posting is provided "AS IS" with
no warranties, and confers no rights.
"Hank Reed" <ha********@aol.com> wrote in message
news:f4**************************@posting.google.c om...
It's amazing. String manipulation must be a lost art. Even the most
well programmed sites do not allow dashes or spaces in your credit
card number because they don't know how to parse them out.
Maybe students should be required to learn it before being
awarded they're under grad.
Hank Reed

Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: enrique | last post by:
I'm trying to debug my expression that matches an alphanumeric with any number of dashes (including none), except at the ends and obviously disallowing two or more consecutive dashes. Here it...
4
by: Fred | last post by:
I want to insert DHL and FedEx tracking links with the waybill numbers in the body of emails I am sending using sendobject. I am not sending attachments. DHL and FedEx use long links that...
24
by: cassetti | last post by:
Here's the issue: I have roughly 20 MS excel spreadsheets, each row contains a record. These records were hand entered by people in call centers. The problem is, there can and are duplicate...
1
by: veg_all | last post by:
I am often surprised to see many websites require that the credit card not be entered with any spaces or dashes. This is very trivial to remove those characters that I wonder about the security of...
1
by: Jamad | last post by:
I want to extract some information in a text file that is not tab, comma and space separated. The format of the text file is actually unknown. The problem now is, i want to extract like three lines...
1
by: happy | last post by:
Hello All, Please tell me how to integrate DHL Shipping Method in a ecommerce website. If you provide me the API, It would be great. Thanks, Pranav
6
by: B1222 | last post by:
I am not a programmer but I know enough to be dangerous. My companies software developer says that we cannot use dashes in product codes, but he can't explain why. I know that it can be done, I...
2
by: laredotornado | last post by:
Hi, Does anyone know of or is using an API for calculating shippiing rates with DHL? The only one I found on Google (http://www.phpclasses.org/ browse/package/2922.html) gives me a bunch of...
0
by: abhi | last post by:
Microsoft is filing a suit against shipping company DHL over an Xbox shipment delay caused by a train derailment. The company claims that DHL has refused to reimburse it for more than $2m in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.