Solved

Removing numbers from a text field.

Posted on 2007-04-09
2
222 Views
Last Modified: 2010-04-27
I have a field that combines a serial number with text.  I want to create another field that shows only the text without the numbers.

Is there a way to calculate the second field to show the first field, but without any numbers?

0
Comment
Question by:jarrodprice
2 Comments
 
LVL 9

Expert Comment

by:jvaldes
Comment Utility
Jarrod,


Create a Calculation field named NumbersOnly and set the calculation to:

Filter ( Serial ; "0123456789")

Where Serial is the name of the Text field where you have your mixed text and numbers

the results will be only numbers between 0 and 9 that exist in the mixed field

Let me know if this is what you wanted....
0
 
LVL 28

Accepted Solution

by:
lesouef earned 500 total points
Comment Utility
If think jvaldes just shows the opposite, you wanna keep the characters, not the numbers.
so you can use his function, but put the entire alphabet as the filter parameter instead.
if the characters string length is constant, you can use left(serial;5) if there are 5 characters in the serial string.
also note:
that the quickest way to filter numbers is *1: abc132 * 1 = 132
and that it would have been easier to have the serial number separate (w/o characters) then adding characters to it, rather than stripping numbers afterwards.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Pop up windows can be a useful feature of any Filemaker database.  Though best used sparingly, they can be employed in a multitude of different ways, for example;  as a splash screen at login, during scripted processes to control user input, as pick…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now