473,473 Members | 1,584 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Filtering Non Numberic Results

Greetings,

I am working on importing some info from excel to Access and have run into a
problem. There are some entries in the ZipCode field that are not in
numeric form. I can't seem to find a way to filter out the non numeric one,
and would really appreciate some help. The problem is that the ones that
aren't correct are shown like this "999XX" (obviously without the quotes)
where the "9" could be any number and the "X" could be any letter.
Thanks
Tarvos
Nov 13 '05 #1
2 1872
If not IsNumeric(YourField) then ...

--
Hope this helps
Arno R
"Tarvos{k}" <ta****@chartermi.net> schreef in bericht news:04*******************@fe04.lga...
Greetings,

I am working on importing some info from excel to Access and have run into a
problem. There are some entries in the ZipCode field that are not in
numeric form. I can't seem to find a way to filter out the non numeric one,
and would really appreciate some help. The problem is that the ones that
aren't correct are shown like this "999XX" (obviously without the quotes)
where the "9" could be any number and the "X" could be any letter.
Thanks
Tarvos

Nov 13 '05 #2
"Tarvos{k}" <ta****@chartermi.net> wrote in
news:04*******************@fe04.lga:
Greetings,

I am working on importing some info from excel to Access and
have run into a problem. There are some entries in the
ZipCode field that are not in numeric form. I can't seem to
find a way to filter out the non numeric one, and would really
appreciate some help. The problem is that the ones that
aren't correct are shown like this "999XX" (obviously without
the quotes) where the "9" could be any number and the "X"
could be any letter. Thanks
Tarvos

Be reminded that Zip Codes for Great Britain, Australia and Canada
contain letters by design. The current format for US zipcodes is 5-
4, which must be saved as text. You may want to verify that these
codes are legitimate foreign codes..
Besides, unless the intent is to add, subtract, multiply or divide
the contents of a field, you should consider using a formatted tect
field. (one thing remembered from a college programming course)

--
Bob Quintal

PA is y I've altered my email address.
Nov 13 '05 #3

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

Similar topics

1
by: Alex Satrapa | last post by:
I have a table from which I'm trying to extract certain information. For historical reasons, we archive every action on a particular thing ('thing' is identified, funnily enough, by 'id'). So the...
19
by: William Wisnieski | last post by:
Hello Everyone, I have a main form with a datasheet subform that I use to query by form. After the user selects two criteria on the main form and clicks the cmdShowResults button on the main...
1
by: Ken | last post by:
I wrote a function to use in queries that takes a date and adds or subtracts a certain length time and then returns the new value. There are times when my function needs to return Null values. ...
7
by: | last post by:
Hello, Does anyone have an idea on how I can filter the data in the gridview control that was returned by an sql query? I have a gridview that works fine when I populate it with data. Now I...
5
by: LDD | last post by:
Hi Folks I'm trying to determine a way to handle paging, filtering and sorting in a datagrid. If I choose to filter and sort, I'd like to return a subset. If that resultset has more records...
2
by: JUAN ERNESTO FLORES BELTRAN | last post by:
Hi you all, I am developping a python application which connects to a database (postresql) and displays the query results on a treeview. In adittion to displaying the info i do need to implement...
8
by: Ragbrai | last post by:
Howdy All, I have a query that is used for filtering results to be used in a combo box. The query needs to test fields from both a table and then unbound text boxes on the form that also contains...
2
NeoPa
by: NeoPa | last post by:
CHAPTER 1 - TABLE OF CONTENTS (Including attached database) CHAPTER 2 - INTRODUCTION CHAPTER 3 - TABLE LAYOUT CHAPTER 4 - FORM LAYOUT CHAPTER 5 - FORM MODULE CHAPTER 6 - CODE DISCUSSION (FILTER...
3
by: iamguyster | last post by:
Hi, I have an exercise I need to give to my pupils (I'm a teacher!) and I am trying to get a query working preferably using the query design view, without having to edit the SQL. The query involves...
2
by: poteatc | last post by:
I want to filter my reports according date and time. I am already successful with filtering dates and times, but not overnight. I want to filter according to a shift that starts for example,...
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
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,...
1
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...
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.